source: trunk/test_more/extern_value.hpp @ 3008

Last change on this file since 3008 was 2756, checked in by bradbell, 7 years ago

Make testing of numeric limits more robust by
using external functions, instead of arrays, for storing temporary values.

extern_value.cpp: external functions for getting and setting values.

  • Property svn:keywords set to Id
File size: 696 bytes
1/* $Id: extern_value.hpp 2756 2013-02-27 18:49:28Z bradbell $ */
2/* --------------------------------------------------------------------------
3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
5CppAD is distributed under multiple licenses. This distribution is under
6the terms of the
7                    Eclipse Public License Version 1.0.
9A copy of this license is included in the COPYING file of this distribution.
10Please visit for information on other licenses.
11-------------------------------------------------------------------------- */
13template <class Type> 
14class extern_value  {
16        Type value_;
18        extern_value(Type value);
19        void set(Type value);
20        Type get(void);
Note: See TracBrowser for help on using the repository browser.