8#ifndef INCLUDED_BSLTF_DEGENERATEFUNCTOR
9#define INCLUDED_BSLTF_DEGENERATEFUNCTOR
74#include <bslscm_version.h>
106template <
class FUNCTOR,
bool ENABLE_SWAP = true>
127 void operator,(
const T&);
164 using FUNCTOR::operator();
182template <
class FUNCTOR>
196template <
class FUNCTOR,
bool ENABLE_SWAP>
203template <
class FUNCTOR,
bool ENABLE_SWAP>
211template <
class FUNCTOR,
bool ENABLE_SWAP>
215: FUNCTOR(
bslmf::MovableRefUtil::move(static_cast<FUNCTOR&>(original)))
219template <
class FUNCTOR,
bool ENABLE_SWAP>
227template <
class FUNCTOR,
bool ENABLE_SWAP>
236 other->~DegenerateFunctor();
244template <
class FUNCTOR>
246void bsltf::swap(DegenerateFunctor<FUNCTOR, true>& lhs,
247 DegenerateFunctor<FUNCTOR, true>& rhs)
Definition bslmf_movableref.h:752
Definition bsltf_degeneratefunctor.h:107
void exchangeValues(DegenerateFunctor *other)
Definition bsltf_degeneratefunctor.h:230
static DegenerateFunctor cloneBaseObject(const FUNCTOR &base)
Definition bsltf_degeneratefunctor.h:222
#define BSLS_ASSERT_SAFE(X)
Definition bsls_assert.h:1917
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdlbb_blob.h:579
Definition bsltf_allocargumenttype.h:92
void swap(DegenerateFunctor< FUNCTOR, true > &lhs, DegenerateFunctor< FUNCTOR, true > &rhs)
Exchange the values of the specified lhs and rhs objects.
static MovableRef< t_TYPE > move(t_TYPE &reference) BSLS_KEYWORD_NOEXCEPT
Definition bslmf_movableref.h:1067
static TYPE * addressOf(TYPE &obj)
Definition bsls_util.h:312