8 Apr
2021
8 Apr
'21
10:05 p.m.
On 9/04/2021 9:45 am, Edward Diener wrote:
If you just have:
#include
#include <string> boost::variant<__int128, char, std::string> v; v = 56;
This produces an error:
..\..\../boost/variant/variant.hpp:1578:38: error: call of overloaded 'initialize(void*, boost::move_detail::remove_reference
::type)' is ambiguous
To resolve that, use static_cast<__int128>(56) instead, or assign an __int128 variable instead of an integer constant.