C.181 Fix missing type specifier (#2117)

This commit is contained in:
Xavier1113
2023-08-07 11:06:08 -07:00
committed by GitHub
parent f2485c56a1
commit e1b17ec9a5

View File

@@ -8871,7 +8871,7 @@ The C++17 `variant` type (found in `<variant>`) does that for you:
v = 123; // v holds an int v = 123; // v holds an int
int x = get<int>(v); int x = get<int>(v);
v = 123.456; // v holds a double v = 123.456; // v holds a double
w = get<double>(v); double w = get<double>(v);
##### Enforcement ##### Enforcement