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