ROOT  6.06/09
Reference Guide
RArrayView.h
Go to the documentation of this file.
1 /// \file 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 #ifdef R__HAS_STD_ARRAY_VIEW
19 
20 #include <array_view>
21 
22 #elif defined(R__HAS_STD_EXPERIMENTAL_ARRAY_VIEW)
23 
24 #include <experimental/array_view>
25 namespace std {
26  using template<class T> array_view = experimental::array_view<T>;
27 
28  // TODO: using make_view() overloads
29 }
30 
31 #else
32 # include "ROOT/rhysd_array_view.h"
33 #endif
34 
35 #endif
STL namespace.