|
|
@@ -50,7 +50,8 @@ public:
|
|
|
* @return A newly constructed object by value
|
|
|
*/
|
|
|
template <typename T> T from_stream(std::istream & in) const;
|
|
|
- template <typename T> T from_string(std::string const & in) const;
|
|
|
+ template <typename T> T from_string(std::string_view in) const;
|
|
|
+
|
|
|
/**
|
|
|
* @brief Write an object out to a datastream, such as std::cout or a file
|
|
|
* @param T the input type to be serialized
|