OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
/
tbb
/
internal
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:50:34 AM
rwxr-xr-x
📄
_aggregator_impl.h
7.59 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_concurrent_queue_impl.h
36.34 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_concurrent_unordered_impl.h
54.2 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_async_msg_impl.h
6.85 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_impl.h
27.23 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_indexer_impl.h
21.47 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_item_buffer_impl.h
10.95 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_join_impl.h
94.87 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_node_impl.h
30.36 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_streaming_node.h
30.41 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_tagged_buffer_impl.h
9.75 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_trace_impl.h
10.13 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_flow_graph_types_impl.h
32.53 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_mutex_padding.h
3.74 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_range_iterator.h
2.24 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_tbb_hash_compare_impl.h
2.98 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_tbb_strings.h
3.21 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_tbb_windef.h
2.31 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_template_helpers.h
6.8 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_x86_eliding_mutex_impl.h
4.37 KB
06/07/2017 07:54:02 AM
rw-r--r--
📄
_x86_rtm_rw_mutex_impl.h
8.14 KB
06/07/2017 07:54:02 AM
rw-r--r--
Editing: _range_iterator.h
Close
/* Copyright (c) 2005-2017 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ #ifndef __TBB_range_iterator_H #define __TBB_range_iterator_H #include "../tbb_stddef.h" #if __TBB_CPP11_STD_BEGIN_END_PRESENT && __TBB_CPP11_AUTO_PRESENT && __TBB_CPP11_DECLTYPE_PRESENT #include <iterator> #endif namespace tbb { // iterators to first and last elements of container namespace internal { #if __TBB_CPP11_STD_BEGIN_END_PRESENT && __TBB_CPP11_AUTO_PRESENT && __TBB_CPP11_DECLTYPE_PRESENT using std::begin; using std::end; template<typename Container> auto first(Container& c)-> decltype(begin(c)) {return begin(c);} template<typename Container> auto first(const Container& c)-> decltype(begin(c)) {return begin(c);} template<typename Container> auto last(Container& c)-> decltype(begin(c)) {return end(c);} template<typename Container> auto last(const Container& c)-> decltype(begin(c)) {return end(c);} #else template<typename Container> typename Container::iterator first(Container& c) {return c.begin();} template<typename Container> typename Container::const_iterator first(const Container& c) {return c.begin();} template<typename Container> typename Container::iterator last(Container& c) {return c.end();} template<typename Container> typename Container::const_iterator last(const Container& c) {return c.end();} #endif template<typename T, size_t size> T* first(T (&arr) [size]) {return arr;} template<typename T, size_t size> T* last(T (&arr) [size]) {return arr + size;} } //namespace internal } //namespace tbb #endif // __TBB_range_iterator_H