mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-16 18:56:52 +02:00
added template <typename T, int i> struct IsConst<const T[i]>
This commit is contained in:
@@ -108,6 +108,17 @@ struct IsConst<const T>
|
||||
};
|
||||
|
||||
|
||||
template <typename T, int i>
|
||||
struct IsConst<const T[i]>
|
||||
/// Specialization for const char arrays
|
||||
{
|
||||
enum
|
||||
{
|
||||
VALUE = 1
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
template <typename T>
|
||||
struct TypeWrapper
|
||||
/// Use the type wrapper if you want to decouple constness and references from template types.
|
||||
|
Reference in New Issue
Block a user