add a second default template parameter for YAML::convert so users can use SFINAE
This commit is contained in:
parent
1b50109f7b
commit
14c2e54c79
@ -29,7 +29,7 @@
|
|||||||
namespace YAML {
|
namespace YAML {
|
||||||
class Binary;
|
class Binary;
|
||||||
struct _Null;
|
struct _Null;
|
||||||
template <typename T>
|
template <typename T, typename Enable>
|
||||||
struct convert;
|
struct convert;
|
||||||
} // namespace YAML
|
} // namespace YAML
|
||||||
|
|
||||||
|
|||||||
@ -141,8 +141,8 @@ YAML_CPP_API bool operator==(const Node& lhs, const Node& rhs);
|
|||||||
|
|
||||||
YAML_CPP_API Node Clone(const Node& node);
|
YAML_CPP_API Node Clone(const Node& node);
|
||||||
|
|
||||||
template <typename T>
|
template <typename T, typename Enable = void>
|
||||||
struct convert;
|
struct convert;
|
||||||
}
|
} // namespace YAML
|
||||||
|
|
||||||
#endif // NODE_NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
#endif // NODE_NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user