MakeConstRef

MakeConstRef struct

Trait to make generic type "const reference" if it is String or a SmartPtr<> type.

template<typename T>class MakeConstRef : public std::conditional<System::detail::is_a<T, System::SmartPtr>::value||std::is_same<System::String, T>::value, const T &, T>

See Also