I am converting some source code from one scripting language (PAWN) to a programming language (C++) on Windows.
The source code has millions of binary literals all over the place in the form of:
data[] =
{
0b11111111111011111110110111111110, 0b00000000001111111111111111111111,
0b00000000000000000000000000000000, 0b00000000000000000000000000000000,
0b00000000000000000000000000000000, 0b00000000000000000000000000000000,
0b00000000000000000000000000000000, 0b00000000000000000000000000000000,
///some million lines later...
0b00000000000000000000000000000000, 0b11111111111111111111111110000000,
0b11100001001111111111111111111111, 0b11110111111111111111111111111111,
0b11111111111111111111111111111111, 0b11111111111111111111111111111111,
To my unfortunate luck Visual Studio 2013 doesn't support the user defined literals standard.
Is there any wya to achieve this somehow? 010101_b or something with C++, maybe with a little addition of boost?