Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <typename ... Args>
- void ProcessDependencies()
- {}
- template <typename T, typename ... Rest>
- void ProcessDependencies()
- {
- ProcessDependency<T>();
- ProcessDependencies<Rest...>();
- }
- template <typename T, typename ... Args>
- class Dependencies
- {
- public:
- Dependencies()
- {
- ProcessDependencies<T, Args...>();
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement