Пример #1
0
std::size_t child_hasher::hash(const child& v) {
    std::size_t seed(0);

    combine(seed, dynamic_cast<const dogen::test_models::trivial_inheritance::parent_outside&>(v));

    combine(seed, v.prop_1());
    return seed;
}
Пример #2
0
 monitor(const child& c) : m_id(c.handle()) {}
Пример #3
0
 child(const  child& c) : m_h(INVALID_HANDLE_VALUE) 
 {
     DuplicateHandle(GetCurrentProcess(), c.handle(), GetCurrentProcess(), &m_h, DWORD(0), false, DUPLICATE_SAME_ACCESS);
 }