python - Lazy evaluation with pair factory in C++ -


i'm trying implement lazy in c++ in python example using decorators:

@lazy @factory(category) def func(self):     return self.__raw_data  # building object include object type , **params 

i found getting lazy c++ , lazy evaluation in c++ post haven't helped me. don't understand how implement lazy.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -