예제 #1
0
 boost::optional<internal_type>
 put_value(T v,
           typename std::enable_if<std::is_floating_point<T>::value>::type * =
               nullptr)
 {
   return internal_type(double(v));
 }
예제 #2
0
 internal_type make_node(Args && ... val)
 {
     return internal_type(std::forward<Args>(val)...);
 }
예제 #3
0
	hresult(enumeration E): hresult_wrap(internal_type(E)) {}
예제 #4
0
 boost::optional<internal_type> put_value(
     T v,
     typename std::enable_if<std::is_integral<T>::value>::type * = nullptr)
 {
   return internal_type(std::int64_t(v));
 }
예제 #5
0
 boost::optional<internal_type> put_value(std::string const &str)
 {
   return internal_type(str);
 }