feat(templates): improve Swap functions and peripheral tools

This commit is contained in:
2022-02-04 16:34:41 +08:00
parent bafcadc68f
commit b0c170f803
6 changed files with 54 additions and 10 deletions

View File

@ -179,7 +179,7 @@ void TestConcepts()
always_check(CSwappable<int32>);
always_check(CSwappable<FTestStructG>);
always_check(CSwappable<FTestStructN>);
// always_check(!CSwappable<FSingleton>);
always_check(!CSwappable<FSingleton>);
always_check((CSwappableWith<int32&, int32&>));