top | up | prev | next

RvalueRefefenceCopyCtor Class

Definition at line 1324 of OperationRepository.cpp

Constructors

RvalueRefefenceCopyCtor(TypeSymbol* type_, const Span& span, const boost::uuids::uuid& moduleId)

Member Functions

const char* ClassName() const override
SymbolAccess DeclaredAccess() const override
void GenerateCall(Emitter& emitter, std::vector<GenObject*>& genObjects, OperationFlags flags, const Span& span, const boost::uuids::uuid& moduleId) override
bool IsBasicTypeOperation() const override

Member Variables

TypeSymbol* type

Constructor Details

RvalueRefefenceCopyCtor Constructor

cmajor::binder::RvalueRefefenceCopyCtor::RvalueRefefenceCopyCtor(TypeSymbol* type_, const Span& span, const boost::uuids::uuid& moduleId)

Definition at line 1336 of OperationRepository.cpp
Declaration at line 1327 of OperationRepository.cpp


Member Function Details

ClassName Member Function

const char * cmajor::binder::RvalueRefefenceCopyCtor::ClassName() const override

Definition at line 1331 of OperationRepository.cpp :
1331 { return "RvalueRefefenceCopyCtor"; }


DeclaredAccess Member Function

SymbolAccess cmajor::binder::RvalueRefefenceCopyCtor::DeclaredAccess() const override

Definition at line 1328 of OperationRepository.cpp :
1328 { return SymbolAccess::public_; }


GenerateCall Member Function

void cmajor::binder::RvalueRefefenceCopyCtor::GenerateCall(Emitter& emitter, std::vector<GenObject*>& genObjects, OperationFlags flags, const Span& span, const boost::uuids::uuid& moduleId) override

Definition at line 1349 of OperationRepository.cpp :
1350 {
1351     Assert(genObjects.size() == 2"reference copy constructor needs two objects");
1352     genObjects[1]->Load(emitterOperationFlags::none);
1353     genObjects[0]->Store(emitterOperationFlags::none);
1354 }


Declaration at line 1329 of OperationRepository.cpp


IsBasicTypeOperation Member Function

bool cmajor::binder::RvalueRefefenceCopyCtor::IsBasicTypeOperation() const override

Definition at line 1330 of OperationRepository.cpp :
1330 { return true; }


top | up | prev | next