CMake/Tests/CompileFeatures/cxx_user_literals.cpp

8 lines
97 B
C++

long double operator"" _meters(long double);
void someFunc()
{
long double i = 1.2_meters;
}