Lines Matching refs:Traits
30 // Traits: Traits type that adapts the enumerator to the corresponding
42 template<typename Traits>
48 // Clear out the Traits::Type structure instance.
66 current_.dwSize = sizeof(typename Traits::Type);
69 incr_ok = Traits::First(snapshot_, ¤t_);
72 incr_ok = Traits::Next(snapshot_, ¤t_);
83 const typename Traits::Type& current() const {
89 Traits::CloseHandle(snapshot_);
100 static void Zero(typename Traits::Type* buff) {
101 ZeroMemory(buff, sizeof(typename Traits::Type));
105 typename Traits::Type current_;