Manu343726 / siplasplas

A library for C++ reflection and introspection
https://manu343726.github.io/siplasplas
MIT License
197 stars 27 forks source link

dynamic_reflection::Type::toString() relies on expression SFINAE, fails on VS 2015 #38

Closed Manu343726 closed 8 years ago

Manu343726 commented 8 years ago

The check fails and Type::toString()/Type::fromString() invoke cpp::lexical_cast() even if the type has no stream operators overloaded. This is covered by the refactorization being done in feature/typeerasure. It should be handled there with proper isolated checking of stream operators (See cpp::concepts::InputStreamable and cpp::concepts::OutputStreamable traits in that branch), so I will not fix this now as part of fix-windows-support since this is the kind of issue that refactorization is intended to solve.

So, I don't consider this issue part of fix-windows-support but to be reevaluated when feature/typeerasure will be ready. Close it then.