cppx-core
cppx-core
language
syntax
macro-items_of.hpp
Go to the documentation of this file.
1
#pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi").
2
6
#include <
cppx-core/meta-macro/only_lvalue_ref_to.hpp
>
// cppx::only_lvalue_ref_to
7
8
#include <iterator>
// std::(begin, end)
9
10
#ifndef CPPX_NO_DOLLARS_PLEASE
11
# define $items_of CPPX_ITEMS_OF
12
#endif
13
22
23
#define CPPX_ITEMS_OF( c ) \
24
std::begin( cppx::only_lvalue_ref_to( c ) ), std::end( c )
only_lvalue_ref_to.hpp
Provides the only_lvalue_ref_to helper for restricting macro arguments.
Generated by
1.8.15