aboutsummaryrefslogtreecommitdiff
path: root/build/prefix_map.txx
diff options
context:
space:
mode:
Diffstat (limited to 'build/prefix_map.txx')
-rw-r--r--build/prefix_map.txx42
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;
- }
-}