Category
Type Trait Functions
Syntax
bool __is_convertible ( typename From, typename To )
Returns true if and only if From is implicitly convertible to To.
Error if either From or To is an incomplete type.
Note: Exact test described in Working Draft Section 20.4.4.3 is true if the following code is well formed:
template <class T>
typename add_rvalue_reference<T>::type create();
To test() { return create<From>(); ||
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|