blob: 20552265ad06886570f9152027eaa6e2488600f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include <memory>
#include <vector>
template<typename T> struct StdTypeDefs {
using Ptr = std::shared_ptr<T>;
using CPtr = std::shared_ptr<const T>;
using WPtr = std::weak_ptr<const T>;
using Collection = std::vector<Ptr>;
using CCollection = std::vector<CPtr>;
using WCollection = std::vector<WPtr>;
};
|