BROKEN CODE BECAUSE OF INSTANTIATION ORDER TEMPLATE <TYPENAME T> STD::FUNCTION<STD::SHARED_PTR<T>()>  MGR::GETCREATOBJECTFUNCTIONJ() {
    S | image tagged in programming | made w/ Imgflip meme maker
share
219 views, 3 upvotes, Made by DylanTaft 10 months ago programming
Add Meme
Post Comment
Flip Settings

Created with the Imgflip Meme Generator

IMAGE DESCRIPTION:
BROKEN CODE BECAUSE OF INSTANTIATION ORDER; A FACTORY THAT RETURNS A RAW POINTER; A SMART POINTER; STD::MAP<STD::STRING, STD::FUNCTION<STD::SHARED_PTR<GAMEOBJECT>()>> _REGISTEREDGAMEOBJECTCLASSES;; TEMPLATE <TYPENAME T> STD::FUNCTION<STD::SHARED_PTR<T>()> MGR::GETCREATOBJECTFUNCTIONJ() { STD::FUNCTION<STD::SHARED_PTR<T>()> F = []() -> STD::SHARED_PTR<T> {RETURN STD::MAKE_SHARED<T>();}; RETURN F; }
hotkeys: D = random, W = like, S = dislike, A = back
Feedback