With C++11, we can make User-defined literals
Largeint operator "" _largeint(const char* literal_string)
{
Largeint largeint;
// initialize largeint with literal string content;
return largeint;
}
or, if you prefer the variadic template
template<char... Cs> Largeint operator "" _largeint();
And then use it:
Largeint largeint = 123456789012345678901234567890_largeint;
You may use a more appropriate suffix name.