| 500 | //! Loads a bool from the current top node |
| 501 | template <class T, traits::EnableIf<std::is_unsigned<T>::value, |
| 502 | std::is_same<T, bool>::value> = traits::sfinae> inline |
| 503 | void loadValue( T & value ) |
| 504 | { |
| 505 | std::istringstream is( itsNodes.top().node->value() ); |
| 506 | is.setf( std::ios::boolalpha ); |
| 507 | is >> value; |
| 508 | } |
| 509 | |
| 510 | //! Loads a char (signed or unsigned) from the current top node |
| 511 | template <class T, traits::EnableIf<std::is_integral<T>::value, |
no test coverage detected