diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-23 16:16:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-23 16:16:23 +0200 |
commit | dea0d0913711f23fff3b902e3aa6006c6b54905a (patch) | |
tree | 3d1c3802af8bf68566e02683347f4251fa6d603e /build/prefix_map.txx | |
parent | e5fedf8a485d7b1b7d26e08557ca40c863d3255b (diff) |
Clean up file names
Diffstat (limited to 'build/prefix_map.txx')
-rw-r--r-- | build/prefix_map.txx | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/build/prefix_map.txx b/build/prefix_map.txx deleted file mode 100644 index 91f8e0a..0000000 --- a/build/prefix_map.txx +++ /dev/null @@ -1,42 +0,0 @@ -// file : build/prefix_map.txx -*- C++ -*- -// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC -// license : MIT; see accompanying LICENSE file - -namespace build -{ - template <typename M> - auto prefix_map_common<M>:: - find (const key_type& k) -> std::pair<iterator, iterator> - { - std::pair<iterator, iterator> r; - r.first = this->lower_bound (k); - - for (r.second = r.first; - r.second != this->end (); - ++r.second) - { - if (!this->key_comp ().prefix (k, r.second->first)) - break; - } - - return r; - } - - template <typename M> - auto prefix_map_common<M>:: - find (const key_type& k) const -> std::pair<const_iterator, const_iterator> - { - std::pair<const_iterator, const_iterator> r; - r.first = this->lower_bound (k); - - for (r.second = r.first; - r.second != this->end (); - ++r.second) - { - if (!this->key_comp ().prefix (k, r.second->first)) - break; - } - - return r; - } -} |