diff --git a/dumux/io/container.hh b/dumux/io/container.hh index 7b60883ef1de3d858af81d18bf1f81d16068c138..a7dea7dd35ff3ce69db7049add933b1c71d20f99 100644 --- a/dumux/io/container.hh +++ b/dumux/io/container.hh @@ -60,7 +60,8 @@ void writeContainerToFile(const Container& v, /*! * \brief Read an input stream into a container * \param stream A standard input stream - * \tparam Container The container type, requires begin(), end(), push_back() method + * \tparam Container The container type requires begin(), end(), push_back() functions + * and Container::value_type requires operator>>. */ template<typename Container> Container readStreamToContainer(std::istream& stream) @@ -74,7 +75,8 @@ Container readStreamToContainer(std::istream& stream) /*! * \brief Read a simple text file into a container * \param filename The filename to write to - * \tparam Container The container type, requires begin(), end(), push_back() method + * \tparam Container The container type requires begin(), end(), push_back() functions + * and Container::value_type requires operator>>. * * usage: auto v = readFileToContainer<std::vector<double>>("myvector.txt"); */