Adobe Source Libraries
1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
is_range.hpp
Go to the documentation of this file.
1
/*
2
Copyright 2013 Adobe
3
Distributed under the Boost Software License, Version 1.0.
4
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
*/
6
7
#ifndef ADOBE_IS_RANGE_HPP
8
#define ADOBE_IS_RANGE_HPP
9
10
#include <
adobe/type_inspection.hpp
>
11
12
namespace
adobe
{
13
19
template
<
typename
T>
20
struct
is_range
{
21
static
const
bool
value
=
has_type_type<boost::range_iterator<T>
>
::value
;
22
};
23
}
// namespace adobe
24
25
#endif
// include guard
adobe
Definition
class_template.hpp:7
adobe::has_type_type
is T::type a valid type (or a compile error?)
Definition
type_inspection.hpp:80
adobe::is_range
does T model the boost::range concepts?
Definition
is_range.hpp:20
adobe::is_range::value
static const bool value
Definition
is_range.hpp:21
type_inspection.hpp
adobe
is_range.hpp
Generated by
1.14.0