Andrzej Krzemienski
7541076cf1
fixed defaulted moves on older compilers
2017-11-07 23:34:41 +01:00
Andrzej Krzemienski
06dea2cb9b
Reverted specialization for trivial types
...
It caused too many problems. I left only specialiation for scalar types.
I will need to devise clever type traits for reconizing trivial types with working constructor.
2017-11-07 23:34:34 +01:00
Andrzej Krzemieński
01ebd2ad7f
Added tests for types with deleted default ctor
2017-11-07 23:34:23 +01:00
Andrzej Krzemienski
a7f33f5d6f
more defensive checking for trivial types -- avoiding bugs
2017-11-07 23:34:15 +01:00
Andrzej Krzemienski
58f7c2f14a
fix bug with defaulted move in msvc 12.0
2017-11-07 23:34:12 +01:00
Andrzej Krzemienski
2d2c3c3f6f
trivially-copyable optional<T> for trivial T
2017-11-07 23:34:05 +01:00