Пример #1
0
 bool is_linked() const
 {
    return Hooks::base_hook_type::is_linked() ||
    Hooks::auto_base_hook_type::is_linked() ||
    node_.is_linked() ||
    auto_node_.is_linked();
 }
Пример #2
0
 void swap_nodes(testvalue &other)
 {
    Hooks::base_hook_type::swap_nodes(other);
    Hooks::auto_base_hook_type::swap_nodes(other);
    node_.swap_nodes(other.node_);
    auto_node_.swap_nodes(other.auto_node_);
 }
Пример #3
0
 void swap_nodes(testvalue &other)
 {
    Hooks::base_hook_type::swap_nodes(static_cast<typename Hooks::base_hook_type&>(other));
    Hooks::auto_base_hook_type::swap_nodes(static_cast<typename Hooks::auto_base_hook_type&>(other));
    node_.swap_nodes(other.node_);
    auto_node_.swap_nodes(other.auto_node_);
    nhn_member_.swap_nodes(other.nhn_member_);
 }