示例#1
0
std::size_t input_options_hasher::hash(const input_options& v) {
    std::size_t seed(0);

    combine(seed, v.target());
    combine(seed, hash_std_vector_dogen_config_input_descriptor(v.references()));

    return seed;
}
示例#2
0
std::size_t input_options_hasher::hash(const input_options& v) {
    std::size_t seed(0);

    combine(seed, hash_boost_filesystem_path(v.target()));
    combine(seed, v.external_module_path());
    combine(seed, hash_std_vector_dogen_config_reference(v.references()));

    return seed;
}