18#ifndef HACKS_boost_program_options_with_filesystem_path_h__
19#define HACKS_boost_program_options_with_filesystem_path_h__
21#include <boost/filesystem/path.hpp>
22#include <boost/program_options/value_semantic.hpp>
28 static void validate(boost::any& v, std::vector<std::string>
const& values, path* ,
int)
30 using namespace boost::program_options;
32 validators::check_first_occurrence(v);
33 std::string
const& s = validators::get_single_string(values);
38 catch (std::exception
const&)
40 throw validation_error(invalid_option_value(s));
static void validate(boost::any &v, std::vector< std::string > const &values, path *, int)