Rosetta
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
ObjexxFCL
rvalue_cast.hh
Go to the documentation of this file.
1
#ifndef INCLUDED_ObjexxFCL_rvalue_cast_hh
2
#define INCLUDED_ObjexxFCL_rvalue_cast_hh
3
4
5
// rvalue_cast: Wrapper for Passing an rvalue as a non-const Reference Argument
6
//
7
// Project: Objexx Fortran Compatibility Library (ObjexxFCL)
8
//
9
// Version: 3.0.0
10
//
11
// Language: C++
12
//
13
// Copyright (c) 2000-2009 Objexx Engineering, Inc. All Rights Reserved.
14
// Use of this source code or any derivative of it is restricted by license.
15
// Licensing is available from Objexx Engineering, Inc.: http://objexx.com Objexx@objexx.com
16
17
18
namespace
ObjexxFCL {
19
20
21
/// @brief rvalue_cast: Wrapper for Passing an rvalue as a non-const Reference Argument
22
template
<
typename
T >
23
inline
24
T
&
25
rvalue_cast
(
T
const
& t ) {
26
return
const_cast<
T
&
>
( t );
27
}
28
29
30
}
// namespace ObjexxFCL
31
32
33
#endif // INCLUDED_ObjexxFCL_rvalue_cast_HH
test.T007_TracerIO.T
tuple T
Definition:
T007_TracerIO.py:15
ObjexxFCL::rvalue_cast
T & rvalue_cast(T const &t)
rvalue_cast: Wrapper for Passing an rvalue as a non-const Reference Argument
Definition:
rvalue_cast.hh:25
Generated on Sun Jan 17 2016 15:21:47 for Rosetta by
1.8.7