cauldron  0.0.0
 All Classes Namespaces Files Functions Variables Typedefs
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 }
Just(Value value)
Definition: just.h:17
Value operator()() const override
Definition: just.h:23
Definition: bases.h:97
Definition: just.h:12