2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-17 13:52:13 +00:00
Files
json/include
Dmitry Arkhipov 25e740d7ba fix inconsistent choice of init list constructor
On some compilers value{x} invokes initializer_list constructor, on
others it is equivalent to value(x). This is very problematic, but this
isn't something we can fix. On the other hand, we CAN make init list
construction to be equivalent to value(x), if the size of init list is
one. This commit does exactly that.
2023-08-25 20:27:46 +03:00
..