jupyter-xeus / xproperty

Traitlets-like C++ properties and implementation of the observer pattern
Other
44 stars 15 forks source link

Explicit vs implicit conversion from value type and other properties #8

Open SylvainCorlay opened 7 years ago

SylvainCorlay commented 7 years ago

Just like in https://github.com/QuantStack/xtensor/issues/383, we need to use SFINAE to make things explicit or explicit depending on the convertibility from the underlying value type.

SylvainCorlay commented 6 years ago

The xtl PR is https://github.com/QuantStack/xtl/pull/37/files