Skip to content
Snippets Groups Projects
Forked from Utils / KWSys
1000 commits behind the upstream repository.
  • Brad King's avatar
    1979c02d
    hashtable: Poison operator= on internal node type · 1979c02d
    Brad King authored
    Declare a private _Hashtable_node<_Val>::operator= without
    implementation to ensure no code tries to assign nodes.
    The hash_map uses "pair<const _Key,_Tp>" as the value type
    so the const key cannot be assigned.
    
    Change-Id: If772e1588c9504df450c18eb0d36dc024db9f2da
    1979c02d
    History
    hashtable: Poison operator= on internal node type
    Brad King authored
    Declare a private _Hashtable_node<_Val>::operator= without
    implementation to ensure no code tries to assign nodes.
    The hash_map uses "pair<const _Key,_Tp>" as the value type
    so the const key cannot be assigned.
    
    Change-Id: If772e1588c9504df450c18eb0d36dc024db9f2da
hashtable.hxx.in 42.35 KiB