MCPcopy Create free account
hub / github.com/covscript/covscript / cni_decayed_converter_impl

Class cni_decayed_converter_impl

include/covscript/core/cni.hpp:250–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248
249 template <typename _SourceT, typename _TargetT, typename _ConvertorT, bool _Bindable>
250 struct cni_decayed_converter_impl {
251 static _TargetT convert(any &val)
252 {
253 return _ConvertorT::convert(convert_helper<_SourceT>::get_val(val));
254 }
255 };
256
257 template <typename _SourceT, typename _TargetT, typename _ConvertorT>
258 struct cni_decayed_converter_impl<_SourceT, _TargetT, _ConvertorT, false> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected