CMake/Tests/CompileFeatures/cxx_user_literals.cpp

8 lines
98 B
C++

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