Jpp
test_elongated_shower_pde
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JLang
JSwitch.hh
Go to the documentation of this file.
1
#ifndef __JLANG__JSWITCH__
2
#define __JLANG__JSWITCH__
3
4
/**
5
* \author mdejong
6
*/
7
8
namespace
JLANG {}
9
namespace
JPP {
using namespace
JLANG; }
10
11
namespace
JLANG {
12
13
/**
14
* Template selection of type specifier.
15
*/
16
template
<
bool
,
class
A,
class
B>
17
class
JSwitch
{
18
public
:
19
typedef
B
value_type
;
20
};
21
22
23
/**
24
* Template specialisation of selection of type specifier.
25
*/
26
template
<
class
A,
class
B>
27
class
JSwitch
<true,
A
, B> {
28
public
:
29
typedef
A
value_type
;
30
};
31
}
32
33
#endif
JLANG::JSwitch
Template selection of type specifier.
Definition:
JSwitch.hh:17
JLANG::JSwitch::value_type
B value_type
Definition:
JSwitch.hh:19
A
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
Definition:
JShellParser.csh:15
JLANG::JSwitch< true, A, B >::value_type
A value_type
Definition:
JSwitch.hh:29
Generated by
1.8.5