System::With 메서드

System::With(const SharedPtr<T>&, const A&) method

레코드 참조를 복제하고 초기화 함수자를 적용합니다.

template<typename T,typename A> SharedPtr<T> System::With(const SharedPtr<T> &record, const A &initializer)
매개변수설명
T복제할 레코드 유형.
A초기화 함수자 유형.
매개변수형식설명
recordconst SharedPtr<T>&복제 및 초기화할 객체에 대한 공유 포인터.
초기화자const A&레코드 복제본에 적용되는 초기화 함수자.

ReturnValue

복제된 레코드에 대한 공유 포인터.

또 보기

System::With(const T&, const A&) method

구조체 레코드를 복사하고 초기화 함수자를 적용합니다.

template<typename T,typename A> T System::With(const T &record, const A &initializer)
매개변수설명
T복사할 레코드 유형.
A초기화 함수자 유형.
매개변수형식설명
recordconst T&복사하고 초기화할 레코드.
초기화자const A&레코드 복사본에 적용되는 초기화 함수자.

ReturnValue

복사된 레코드.

또 보기