Add documentation note workaround for libc++

This commit is contained in:
Jason Turner
2015-04-29 13:41:58 -06:00
parent 2e72fde0ba
commit dc6d039a72

View File

@@ -137,6 +137,7 @@ namespace chaiscript
return data;
} else {
#ifdef CHAISCRIPT_LIBCPP
/// \todo fix this someday after libc++ is fixed.
if (std::string(typeid(To).name()).find("Assignable_Proxy_Function") != std::string::npos) {
auto from = detail::Cast_Helper<std::shared_ptr<From> >::cast(t_from, nullptr);
if (std::string(typeid(*from).name()).find("Assignable_Proxy_Function_Impl") != std::string::npos) {