Lolly 1.4.27
Loading...
Searching...
No Matches
Public Member Functions | List of all members
promise_rep< T > Class Template Referenceabstract

#include <promise.hpp>

Inheritance diagram for promise_rep< T >:
Inheritance graph
[legend]
Collaboration diagram for promise_rep< T >:
Collaboration graph
[legend]

Public Member Functions

 promise_rep ()
 
virtual ~promise_rep ()
 
virtual tm_ostreamprint (tm_ostream &out)
 
virtualeval ()=0
 
- Public Member Functions inherited from abstract_struct
 abstract_struct ()
 Default constructor for the abstract object. Sets the reference count to 0.
 
virtual ~abstract_struct ()
 Virtual destructor for the abstract object. Decrements the reference count.
 

Additional Inherited Members

- Public Attributes inherited from abstract_struct
int ref_count
 The reference count for the abstract object.
 

Detailed Description

template<class T>
class promise_rep< T >

Definition at line 23 of file promise.hpp.

Constructor & Destructor Documentation

◆ promise_rep()

template<class T >
promise_rep< T >::promise_rep ( )
inline

Definition at line 25 of file promise.hpp.

25{}

◆ ~promise_rep()

template<class T >
virtual promise_rep< T >::~promise_rep ( )
inlinevirtual

Definition at line 26 of file promise.hpp.

26{}

Member Function Documentation

◆ print()

template<class T >
tm_ostream & promise_rep< T >::print ( tm_ostream & out)
inlinevirtual

Definition at line 41 of file promise.hpp.

41 {
42 return out << "promise";
43}

◆ eval()

template<class T >
virtual T promise_rep< T >::eval ( )
pure virtual

Implemented in promise_rep_int_add.


The documentation for this class was generated from the following file: