.cpp
friend
.h
<pre lang="C++"> fraction operator"" _frac(const long double val) { return fraction(static_cast<float>(val)); }
main
Error (active)E2486 user-defined literal operator not found
extern fraction operator _frac(const long double val);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)