Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information