diff options
| author | thecharlesblake | 2017-11-14 01:50:18 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-11-14 01:50:18 +0000 |
| commit | fbc39b856dc7b10e4d5dacb90741ea85f22da8bc (patch) | |
| tree | e1d191e429de72f479646378ce3f4a7973629410 /src/main/util/util.h | |
| parent | Add new valid sol check to main (diff) | |
| download | metasol-fbc39b856dc7b10e4d5dacb90741ea85f22da8bc.tar.gz metasol-fbc39b856dc7b10e4d5dacb90741ea85f22da8bc.zip | |
Add util class, with read file to string method
Diffstat (limited to 'src/main/util/util.h')
| -rw-r--r-- | src/main/util/util.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/util/util.h b/src/main/util/util.h index 63b8d0d..1721daa 100644 --- a/src/main/util/util.h +++ b/src/main/util/util.h @@ -5,9 +5,13 @@ #ifndef SOLVITAIRE_UTIL_H #define SOLVITAIRE_UTIL_H +#include <string> -class util { +#include <boost/optional.hpp> +class util { +public: + static const boost::optional<std::string> read_file(const std::string&); }; |
