Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RSpan.hxx
Go to the documentation of this file.
1/// \file ROOT/RSpan.hxx
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_RSpan
15#define ROOT_RSpan
16
17#include "RConfigure.h"
18
19#ifdef R__HAS_STD_SPAN
20
21#include <span>
22
23#elif defined(R__HAS_STD_EXPERIMENTAL_SPAN)
24
25#include <experimental/span>
26namespace std {
27 using template<class T> span = experimental::span<T>;
28
29 // TODO: using make_view() overloads
30}
31
32#else
33# include "ROOT/span.hxx"
34#endif
35
36#endif
double T(double x)