Commit Graph

928 Commits

Author SHA1 Message Date
gary f2ed8648b5 [ox/std] Move bit.hpp static_asserts to cpp file
(synced from 81f2865fcc)
2022-01-26 21:14:32 -06:00
gary 43e08eb826 [ox/std] Add print of assert condition to assert output
(synced from 2d429d30a3)
2022-01-26 21:14:11 -06:00
gary ce94a8eeb5 [ox/std] Change default small Vector size to 0
(synced from 4a9b0e5dc3)
2022-01-26 01:43:26 -06:00
gary faecc99ee7 [ox/model] Add macros to simplify model definition
(synced from fcc4cf3308)
2022-01-26 01:36:29 -06:00
gary f7012167dd [ox/fs] Improve const-correctness of FileSystem
(synced from f687134943)
2022-01-26 01:27:31 -06:00
gary c2a7473b36 [ox] Run liccor
(synced from 9ee6cfbbfd)
2022-01-13 02:05:02 -06:00
gary 3a4d47cf04 [ox/sd] Remove ox::move
(synced from fe5fe179f2)
2021-12-17 21:02:50 -06:00
gary db56f918a9 [ox/std] Make sfmt usable as constexpr
(synced from 5ed806f4c0)
2021-12-11 19:16:29 -06:00
gary 21bc8cc67d [ox] Remove std::move calls that suppressed copy elision
(synced from 163fcf1785)
2021-12-11 19:16:29 -06:00
gary 421dd02b31 [ox/std] Deprecate ox::move
(synced from 37664ede05)
2021-12-11 19:16:29 -06:00
gary 48ff004c24 [ox/model] Add requireModelTypeName
(synced from 7aead742eb)
2021-12-11 19:16:29 -06:00
gary 7ca1e73f14 [ox/model] Add string type template parameter to getModelTypeName
(synced from 97bf81ba23)
2021-12-11 19:16:29 -06:00
gary 30c9d58653 [ox/std] Enable small string optimization by default
(synced from 2c8f4cec2c)
2021-12-11 19:16:29 -06:00
gary 702f1f8715 [ox/std] Remove iostream include from vector.hpp
(synced from 457b97afba)
2021-12-11 19:16:29 -06:00
gary 37207f14a5 [ox/std] Make Vector::erase return iterator item after removed item
(synced from a94051644b)
2021-12-11 19:16:29 -06:00
gary 74c62a1780 [ox] Correct bad bit_cast uses and improve constexpr-ness
(synced from 1f24912ddd)
2021-12-11 19:16:29 -06:00
gary 8706eab62a [ox/std] Rename Vector alloc and dealloc methods
(synced from 22f08f83c5)
2021-12-11 19:16:29 -06:00
gary 57118570ea [ox/std] Add char8_t* constructor to String
(synced from 46fe5c3b8f)
2021-12-11 19:16:29 -06:00
gary 0d62e02ae8 [ox/std] Make toCString(std::string) constexpr
(synced from 15947d2fa9)
2021-12-11 19:16:29 -06:00
gary 6f236d3e55 [ox/std] Make BString::operator== const
(synced from 84da41ffc9)
2021-12-11 19:16:29 -06:00
gary d548538b04 [ox/std] Add std::allocator
(synced from 6bee2d12d7)
2021-12-11 19:16:29 -06:00
gary 6cb74d0bb9 [ox/std] Make most of Optional constexpr
(synced from 2bcea545f5)
2021-12-11 19:16:29 -06:00
gary 317fd81701 [ox/std] Make most of Vector constexpr
(synced from 9a8bb557a6)
2021-12-11 19:16:29 -06:00
gary dab6dc0e8a [ox/std] Make Vector use std::allocator
(synced from 263ed4f7e7)
2021-12-11 19:16:29 -06:00
gary 8ddf8bbd9f [ox/std] Set default small string size of 8 bytes
(synced from 380dd1cd76)
2021-12-11 19:16:29 -06:00
gary d44b19923d [ox] Fix for C++20
(synced from f61efbafaf)
2021-12-11 19:16:29 -06:00
gary ebc94c9ea8 [ox/std] Add ox::find(...) and HashMap::erase(K)
(synced from e3a48d0045)
2021-12-11 19:16:29 -06:00
gary dab312da33 [ox/std] Cleanup stacktrace code
(synced from 708d7382d8)
2021-12-11 19:16:29 -06:00
gary b61b4c3239 [ox/model] Add typenamecatcher.hpp to model.hpp
(synced from ceb876b6ae)
2021-12-11 19:16:29 -06:00
gary e75ef05594 [ox/std] Fix UniquePtr reset to work when copying from a UniquePtr to subclass type
(synced from 0133ea30dc)
2021-12-11 19:16:29 -06:00
gary dd6e7f5978 [ox/std] Add missing pragma once to initializerlist.hpp
(synced from 31dcd0d280)
2021-12-11 19:16:29 -06:00
gary 77b2a17cd3 [ox/std] Make HashMap use default constructor for T
(synced from a14eb5a0bc)
2021-12-11 19:16:29 -06:00
gary 48eb2bbc04 [ox/std] Add Optional
(synced from fa06821d90)
2021-12-11 19:16:29 -06:00
gary e46d1e6dd2 [ox/claw] Fix CMake generator expression OX_USE_STDLIB switch
(synced from 51f3c01c4e)
2021-12-11 19:16:29 -06:00
gary 2e3f87c339 [ox/claw] Add readClawHeader to public API
(synced from 5e85f18b60)
2021-12-11 19:16:29 -06:00
gary 3ed451d909 [ox/std] Make oxIgnoreError take const ref
(synced from 5f7bb2e1ae)
2021-12-11 19:16:29 -06:00
gary c21d105f49 [ox/std] Fix Vector reverse iterators
(synced from e2b9823ae2)
2021-12-11 19:16:29 -06:00
gary 1b6e682dd0 [ox/std] Update strops nodiscard use to match current style
(synced from 8a6f08ae73)
2021-12-11 19:16:29 -06:00
gary a4f224b05b [ox][std] Fix UniquePtr to use provided deleter
(synced from 4bc3da40b4)
2021-12-11 19:16:29 -06:00
gary 260b06c4d2 [ox/std] Add implementation of what() to ox::Exception
(synced from 160ef61520)
2021-10-14 19:21:59 -05:00
gary c09115d9ff [ox/std] Add begin and end methods to BasicString
(synced from 853f8c25ea)
2021-10-14 19:21:59 -05:00
gary b0fc46b2b1 [ox/event] Move isError into namepsace detail
(synced from 38596ac941)
2021-08-03 00:21:05 -05:00
gary 7462f46fdf [ox/std] Fix ptrdiff_t header location
(synced from 8f6897225a)
2021-08-02 21:47:45 -05:00
gary f5fa23aa0c [ox/event] Fix build error in exception variant of Signal
(synced from e7bf3d5413)
2021-08-02 21:23:19 -05:00
gary 853dfa695f [ox/event] Add variant of Signal that uses exceptions
(synced from ad0d5c8caf)
2021-08-02 21:23:19 -05:00
gary 3825dddeb5 [ox/std] Specify std::bit_cast in Vector
(synced from b61f7a95ad)
2021-08-02 21:23:19 -05:00
gary bb8d7ff983 [ox/std] Fix another inappropriate assign with constructor
(synced from 90b2e7a43c)
2021-08-02 21:23:19 -05:00
gary 9d1f84f378 [ox/oc] Resize vectors before writing to them
(synced from 8480eeba0c)
2021-08-02 21:23:19 -05:00
gary cf5bc8cd0b [ox/std] Fix problems with Vector using operator= where constructors should be used
(synced from 313b35f605)
2021-08-02 21:23:19 -05:00
gary 59da5557af [ox/std] Remove preprocessor condition for Vector(initializer_list) constructor implementation
(synced from d8a0a5f50d)
2021-07-30 20:10:20 -05:00