mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 09:16:53 +08:00
Add documentation note workaround for libc++
This commit is contained in:
parent
2e72fde0ba
commit
dc6d039a72
@ -137,6 +137,7 @@ namespace chaiscript
|
|||||||
return data;
|
return data;
|
||||||
} else {
|
} else {
|
||||||
#ifdef CHAISCRIPT_LIBCPP
|
#ifdef CHAISCRIPT_LIBCPP
|
||||||
|
/// \todo fix this someday after libc++ is fixed.
|
||||||
if (std::string(typeid(To).name()).find("Assignable_Proxy_Function") != std::string::npos) {
|
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);
|
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) {
|
if (std::string(typeid(*from).name()).find("Assignable_Proxy_Function_Impl") != std::string::npos) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user