Logo ROOT   6.12/07
Reference Guide
RArrayView.hxx
Go to the documentation of this file.
1 /// \file ROOT/RArrayView.h
2 /// \ingroup Base StdExt
3 /// \author Axel Naumann <axel@cern.ch>
4 /// \date 2015-09-06
5 
6 /*************************************************************************
7  * Copyright (C) 1995-2015, Rene Brun and Fons Rademakers. *
8  * All rights reserved. *
9  * *
10  * For the licensing terms see $ROOTSYS/LICENSE. *
11  * For the list of contributors see $ROOTSYS/README/CREDITS. *
12  *************************************************************************/
13 
14 #ifndef ROOT_RArrayView
15 #define ROOT_RArrayView
16 
17 #include "RConfigure.h"
18 
19 #ifdef R__HAS_STD_ARRAY_VIEW
20 
21 #include <array_view>
22 
23 #elif defined(R__HAS_STD_EXPERIMENTAL_ARRAY_VIEW)
24 
25 #include <experimental/array_view>
26 namespace std {
27  using template<class T> array_view = experimental::array_view<T>;
28 
29  // TODO: using make_view() overloads
30 }
31 
32 #else
33 # include "ROOT/rhysd_array_view.hxx"
34 #endif
35 
36 #endif
STL namespace.