|
|
@ -18,7 +18,7 @@ class Parameter |
|
|
|
template<class Conv> |
|
|
|
template<class Conv> |
|
|
|
struct Adapter<true,Conv> {static const typename Conv::ValueType& Val(const Conv& cnv) {return cnv.Default();}}; |
|
|
|
struct Adapter<true,Conv> {static const typename Conv::ValueType& Val(const Conv& cnv) {return cnv.Default();}}; |
|
|
|
template<class Conv> |
|
|
|
template<class Conv> |
|
|
|
struct Adapter<false,Conv> {static typename Conv::ValueType&& Val(const Conv& cnv) {return std::move(typename Conv::ValueType());}}; |
|
|
|
struct Adapter<false,Conv> {static typename Conv::ValueType Val(const Conv& cnv) {return typename Conv::ValueType();}}; |
|
|
|
|
|
|
|
|
|
|
|
template<class C> |
|
|
|
template<class C> |
|
|
|
struct CheckDefault |
|
|
|
struct CheckDefault |
|
|
|