Loading...
Searching...
No Matches
loss_ptr.h
Go to the documentation of this file.
1#ifndef _BBM_LOSS_PTR_CONCEPT_H_
2#define _BBM_LOSS_PTR_CONCEPT_H_
3
4#include "concepts/loss.h"
6
7/************************************************************************/
8/*! \file loss_ptr.h
9 \brief loss_ptr contract
10*************************************************************************/
11
12namespace bbm {
13 namespace concepts {
14
15 /********************************************************************/
16 /*! \brief loss_ptr concept
17
18 A loss_ptr wraps a shared_ptr around a loss_base object. It provides
19 the following guarantees:
20 + concepts::loss
21 + concepts::ptr_wrapper
22 *********************************************************************/
23 template<typename T>
25
26 } // end concepts namespace
27} // end bbm namespace
28
29#endif /* _BBM_LOSS_PTR_CONCEPT_H_ */
loss_ptr concept
Definition: loss_ptr.h:24
loss concept
Definition: loss.h:29
ptr_wrapper concept
Definition: ptr_wrapper.h:23
loss contract: virtual interface wrapper around lossfunctions
Definition: aggregatebsdf.h:29
A shared_ptr wrapper.