Update lazyvec / vec api as well as rect are mostly constexpr now
This commit is contained in:
@@ -36,7 +36,7 @@ std::string MakeSwap(int n) {
|
||||
if (a == b || done.count(b + a)) {
|
||||
continue;
|
||||
}
|
||||
s << " void Swap" << (char)toupper(a[0]) << (char)toupper(b[0])
|
||||
s << " constexpr void Swap" << (char)toupper(a[0]) << (char)toupper(b[0])
|
||||
<< "() {\n";
|
||||
s << " T t = " << a << ";\n " << a << " = " << b << ";\n";
|
||||
s << " " << b << " = t;\n }\n";
|
||||
|
||||
Reference in New Issue
Block a user