Commit Graph

28 Commits

Author SHA1 Message Date
943c7c5991 refactor(templates): add constraints to reduce duplicate code on TAny etc 2022-04-03 22:55:17 +08:00
5f4b0d8c22 feat(templates): add type traits to determine if it is TAny etc 2022-03-31 17:36:48 +08:00
54ab72224f feat(templates): add type hash support and the corresponding testing 2022-03-31 16:40:31 +08:00
c4c205e35b refactor(templates): optimize TOptional and TVariant, add necessary constraints 2022-03-31 12:07:15 +08:00
d8a4908a88 feat(templates): add TTuple and the corresponding testing 2022-03-31 09:39:30 +08:00
782f5f5cb2 fix(templates): fix the initialization problem of TVariant members with cv-qualifiers 2022-03-30 12:06:05 +08:00
91755d2196 feat(templates): add TUnwrapReference and the corresponding testing 2022-03-26 19:33:28 +08:00
e1871de73b perf(templates): fix the redefinition of Swap function in private namespaces 2022-03-26 19:31:45 +08:00
3150e07f6b feat(templates): add TIntegerSequence and the corresponding testing 2022-03-23 17:50:55 +08:00
0c6bf06a56 refactor(templates): optimize visit functions for TOptional, TVariant and TAny, add necessary constraints 2022-03-23 17:49:30 +08:00
2f55c84c32 feat(templates): add TOptional and TVariant to compare the equivalence of Invalid 2022-03-22 11:12:05 +08:00
be1d91591c feat(templates): add TAny and the corresponding testing 2022-03-22 11:10:12 +08:00
e0aab7e0b9 perf(templates): add requires on the content of TOptional and TVariant 2022-03-21 18:40:30 +08:00
1bff879a0b style(*): move some constants and placeholders to CoreMiscDefines.h 2022-03-17 09:22:48 +08:00
1b8b449ed4 style(miscellaneous): move Compare.h from Templates to Miscellaneous 2022-03-16 10:47:17 +08:00
2448653fa0 style(miscellaneous): move Placeholders.h from Templates to Miscellaneous 2022-03-16 09:58:23 +08:00
d8ae39b980 feat(templates): add TVariant and the corresponding testing 2022-03-15 19:26:31 +08:00
f7b611febc fix(templates): fix TOptional's operator!= returned an wrong value for invalid value 2022-03-15 11:52:46 +08:00
0b4cb1a9e0 style(templates): redefine placeholders such as ForceInit, InPlace, etc. 2022-03-14 18:03:57 +08:00
8a3b089648 feat(templates): add TOptional and the corresponding testing 2022-03-13 23:18:07 +08:00
c2aecef3dd feat(templates): add three-way comparison operator support 2022-03-09 23:35:05 +08:00
f94621e7e0 fix(templates): fix TReferenceWrapper compilation error on GCC 2022-03-04 22:53:24 +08:00
2fa4bcea13 feat(templates): add TReferenceWrapper and the corresponding testing 2022-02-09 21:46:39 +08:00
2bc852b63c feat(templates): add AddressOf function and the corresponding testing 2022-02-09 17:07:47 +08:00
63fdd34789 feat(templates): add Invoke function and corresponding peripheral tools 2022-02-04 21:11:05 +08:00
b0c170f803 feat(templates): improve Swap functions and peripheral tools 2022-02-04 16:34:41 +08:00
3724188602 fix(templates): fix the problem that FNoncopyable etc. cannot be constructed 2022-02-03 22:25:02 +08:00
172a92edfe feat(templates): add basic tools such as Templates/Templates.h 2022-02-03 16:45:34 +08:00