|
|
@@ -45,7 +45,7 @@ public:
|
|
|
|
|
|
/**
|
|
|
* @brief Construct an object of type 'T' from a datastream
|
|
|
- * @param T the output type to be deserialized
|
|
|
+ * @tparam T the output type to be deserialized
|
|
|
* @param in A stream of JSON data
|
|
|
* @return A newly constructed object by value
|
|
|
*/
|
|
|
@@ -54,7 +54,7 @@ public:
|
|
|
|
|
|
/**
|
|
|
* @brief Write an object out to a datastream, such as std::cout or a file
|
|
|
- * @param T the input type to be serialized
|
|
|
+ * @tparam T the input type to be serialized
|
|
|
* @param value The instance of type T to serialize
|
|
|
* @param out an output stream of any sort
|
|
|
*/
|
|
|
@@ -62,7 +62,7 @@ public:
|
|
|
void to_stream(T const & value, std::ostream & out) const;
|
|
|
/**
|
|
|
* @brief Construct an object of type 'T' from a file handle
|
|
|
- * @param T the output type to be deserialized
|
|
|
+ * @tparam T the output type to be deserialized
|
|
|
* @param file the name of a JSON file on disk to be read
|
|
|
* @return A newly constructed object by value
|
|
|
*/
|