CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
Checks if pointers are implicitly convertible. Workaround for VS implementation of std::is_convertible which instantiates all pointed types to full extent. More...
#include <detail.h>
Public Types | |
using | type = decltype(check(std::declval< from * >())) |
Either true_type or false_type, defining whether the implicit conversion is possible. More... | |
Static Public Member Functions | |
static std::true_type | check (to *) |
SFINAE stub for possible conversions. More... | |
static std::false_type | check (...) |
SFINAE stub for impossible conversions. More... | |
Checks if pointers are implicitly convertible. Workaround for VS implementation of std::is_convertible which instantiates all pointed types to full extent.
from | Source pointed type. |
to | Destination pointed type. |
using System::detail::is_pointer_convertible< from, to >::type = decltype(check(std::declval<from*>())) |
Either true_type or false_type, defining whether the implicit conversion is possible.
|
static |
SFINAE stub for impossible conversions.
|
static |
SFINAE stub for possible conversions.