forked from boostorg/smart_ptr
Add final overload of make_shared and allocate_shared (array forms) for T[][N] with C++11 initializer lists.
[SVN r81275]
This commit is contained in:
1 parent
5bdde37414
commit
980070e63f
9 files changed
+115
-27
No files matched your search
@@ -68,6 +68,13 @@ namespace boost {
|
||||
struct array_list<T[N]> {
|
||||
typedef std::initializer_list<T> type;
|
||||
};
|
||||
template<typename T>
|
||||
struct inner_list {
|
||||
};
|
||||
template<typename T, size_t N>
|
||||
struct inner_list<T[][N]> {
|
||||
typedef std::initializer_list<T> type;
|
||||
};
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user