Commit Graph

85 Commits

Author SHA1 Message Date
_Redstone_c_ 63b63ef0b4 chore(*): add Development build type to allow debugging in optimization-enabled mode 2022-04-20 23:38:29 +08:00
_Redstone_c_ ecbf6480ac refactor(templates): fix the return value derivation of GetData and GetNum 2022-04-19 22:53:23 +08:00
_Redstone_c_ 018d3afb73 refactor(templates): refactor Swap into a member function 2022-04-14 22:41:22 +08:00
_Redstone_c_ 5c82ab1e0d refactor(templates): refining TOptional's constraints 2022-04-13 22:35:30 +08:00
_Redstone_c_ 4f769a9207 feat(templates): add TAtomic and the corresponding testing 2022-04-12 08:33:19 +08:00
_Redstone_c_ 98e8e87c7a refactor(memory): use static_assert's assertion limit as a constraint 2022-04-10 20:14:46 +08:00
_Redstone_c_ c6dd562446 chore(*): update Linux platform compiler to version 11 from 10 2022-04-10 14:32:01 +08:00
_Redstone_c_ a80860f107 feat(templates): add common functors outside STD and the corresponding testing 2022-04-10 10:25:42 +08:00
_Redstone_c_ bb89dd6509 refactor(miscellaneous): renamed builtin type, add fixed-width character type 2022-04-08 17:29:05 +08:00
_Redstone_c_ a086f90f25 refactor(templates): fix the behavior of the TFunction::Target function 2022-04-08 16:52:17 +08:00
_Redstone_c_ ceccf9d722 feat(templates): add common functors and the corresponding testing 2022-04-08 11:44:36 +08:00
_Redstone_c_ 92523a13b2 feat(templates): add TFunction and the corresponding testing 2022-04-07 15:57:02 +08:00
_Redstone_c_ 988e0335a0 fix(templates): fix Invoke selects the wrong operation when the function has specifiers 2022-04-07 14:52:41 +08:00
_Redstone_c_ a539f70535 refactor(templates): make FTypeInfo behave more like std::type_info and optimize TAny 2022-04-05 17:00:33 +08:00
_Redstone_c_ 2a3a5aec35 refactor(templates): make TAny use the construct when the operator= is delete 2022-04-05 13:20:00 +08:00
_Redstone_c_ 943c7c5991 refactor(templates): add constraints to reduce duplicate code on TAny etc 2022-04-03 22:55:17 +08:00
_Redstone_c_ 5f4b0d8c22 feat(templates): add type traits to determine if it is TAny etc 2022-03-31 17:36:48 +08:00
_Redstone_c_ 54ab72224f feat(templates): add type hash support and the corresponding testing 2022-03-31 16:40:31 +08:00
_Redstone_c_ c4c205e35b refactor(templates): optimize TOptional and TVariant, add necessary constraints 2022-03-31 12:07:15 +08:00
_Redstone_c_ d8a4908a88 feat(templates): add TTuple and the corresponding testing 2022-03-31 09:39:30 +08:00
_Redstone_c_ fd0bebd7be feat(miscellaneous): add TSynthThreeWay and the corresponding testing 2022-03-30 12:07:48 +08:00
_Redstone_c_ 782f5f5cb2 fix(templates): fix the initialization problem of TVariant members with cv-qualifiers 2022-03-30 12:06:05 +08:00
_Redstone_c_ 91755d2196 feat(templates): add TUnwrapReference and the corresponding testing 2022-03-26 19:33:28 +08:00
_Redstone_c_ e1871de73b perf(templates): fix the redefinition of Swap function in private namespaces 2022-03-26 19:31:45 +08:00
_Redstone_c_ 3150e07f6b feat(templates): add TIntegerSequence and the corresponding testing 2022-03-23 17:50:55 +08:00
_Redstone_c_ 0c6bf06a56 refactor(templates): optimize visit functions for TOptional, TVariant and TAny, add necessary constraints 2022-03-23 17:49:30 +08:00
_Redstone_c_ 2f55c84c32 feat(templates): add TOptional and TVariant to compare the equivalence of Invalid 2022-03-22 11:12:05 +08:00
_Redstone_c_ be1d91591c feat(templates): add TAny and the corresponding testing 2022-03-22 11:10:12 +08:00
_Redstone_c_ e0aab7e0b9 perf(templates): add requires on the content of TOptional and TVariant 2022-03-21 18:40:30 +08:00
_Redstone_c_ e03cfa956c feat(miscellaneous): add attribute specifier support 2022-03-19 23:07:04 +08:00
_Redstone_c_ beaf5635ba feat(memory): add Memory/MemoryOperator.h and the corresponding testing 2022-03-19 16:05:47 +08:00
_Redstone_c_ 465ce882b9 fix(typetraits): fix that TIsBitwiseConstructible and TIsBitwiseRelocatable cannot completely remove cv-qualifier 2022-03-19 14:46:11 +08:00
_Redstone_c_ c7d6c780b9 refactor(testing): put all test functions under the Testing namespace 2022-03-19 13:35:27 +08:00
_Redstone_c_ c69ed3b9e1 feat(typetraits): complete type traits for bitwise operations 2022-03-19 13:27:37 +08:00
_Redstone_c_ cd1a8da1a8 feat(memory): complete low-level memory management utilities 2022-03-18 20:17:28 +08:00
_Redstone_c_ 94416676d2 refactor(testing): rename test functions for Templates to prevent redefinition 2022-03-17 10:19:41 +08:00
_Redstone_c_ 1bff879a0b style(*): move some constants and placeholders to CoreMiscDefines.h 2022-03-17 09:22:48 +08:00
_Redstone_c_ b10963d310 feat(miscellaneous): add FTypeInfo and the corresponding testing 2022-03-16 11:25:48 +08:00
_Redstone_c_ 1b8b449ed4 style(miscellaneous): move Compare.h from Templates to Miscellaneous 2022-03-16 10:47:17 +08:00
_Redstone_c_ 2448653fa0 style(miscellaneous): move Placeholders.h from Templates to Miscellaneous 2022-03-16 09:58:23 +08:00
_Redstone_c_ c46e5059aa style(testing): fix the location of the function API macro 2022-03-16 09:27:58 +08:00
_Redstone_c_ d8ae39b980 feat(templates): add TVariant and the corresponding testing 2022-03-15 19:26:31 +08:00
_Redstone_c_ 8188d29a58 feat(typetraits): add TypeTraits/CopyQualifiers.h and the corresponding testing 2022-03-15 14:25:06 +08:00
_Redstone_c_ f7b611febc fix(templates): fix TOptional's operator!= returned an wrong value for invalid value 2022-03-15 11:52:46 +08:00
_Redstone_c_ 48a344796a fix(typetraits): Remove wrong circular include 2022-03-15 10:07:22 +08:00
_Redstone_c_ 0b4cb1a9e0 style(templates): redefine placeholders such as ForceInit, InPlace, etc. 2022-03-14 18:03:57 +08:00
_Redstone_c_ 8a3b089648 feat(templates): add TOptional and the corresponding testing 2022-03-13 23:18:07 +08:00
_Redstone_c_ c2aecef3dd feat(templates): add three-way comparison operator support 2022-03-09 23:35:05 +08:00
_Redstone_c_ babc7327eb feat(miscellaneous): add enumerators such as ENoInit and EInPlace 2022-03-08 23:04:55 +08:00
_Redstone_c_ cdc5bd77e9 style(concept): minimize Concepts' header file dependency on Templates 2022-03-06 23:32:39 +08:00