cauldron
0.0.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
cauldron
just.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
bases.h
"
4
5
6
namespace
cauldron {
11
template
<
typename
Value>
12
class
Just
:
public
CloneHelper
<Value, Just<Value>> {
13
public
:
17
explicit
Just
(Value value) :
18
value_(value) {};
19
23
Value
operator()
()
const override
{
24
return
value_;
25
}
26
27
private
:
28
Value value_;
29
};
30
}
cauldron::Just::Just
Just(Value value)
Definition:
just.h:17
cauldron::Just::operator()
Value operator()() const override
Definition:
just.h:23
cauldron::CloneHelper
Definition:
bases.h:97
cauldron::Just
Definition:
just.h:12
bases.h
Generated by
1.8.6