cppx-core
cppx-core
meta-macro
only_lvalue_ref_to.hpp
Go to the documentation of this file.
1
#pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi").
2
5
namespace
cppx
6
{
8
template
<
class
Type >
9
inline
auto
only_lvalue_ref_to
( Type& c )
10
-> Type&
11
{
return
c; }
12
13
}
// namespace cppx
cppx
Definition:
dynamic-size-checking.hpp:12
cppx::only_lvalue_ref_to
auto only_lvalue_ref_to(Type &c) -> Type &
A helper for restricting macro arguments, used e.g. in $items_of.
Definition:
only_lvalue_ref_to.hpp:9
Generated by
1.8.15