mirror of
https://github.com/boostorg/python.git
synced 2026-01-20 16:52:15 +00:00
19 lines
326 B
C++
19 lines
326 B
C++
/* Copyright Bruno da Silva de Oliveira 2003. Use, modification and
|
|
distribution is subject to the Boost Software License, Version 1.0.
|
|
(See accompanying file LICENSE_1_0.txt or copy at
|
|
http:#www.boost.org/LICENSE_1_0.txt)
|
|
*/
|
|
namespace add_test {
|
|
|
|
struct C
|
|
{
|
|
int x;
|
|
};
|
|
|
|
const int get_x(C& c)
|
|
{
|
|
return c.x;
|
|
}
|
|
|
|
}
|