From d62fac0daf5e7448080e1a55c8c64106332cf6b8 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 19 Jan 2014 21:06:27 -0500 Subject: [PATCH] Added a value_type typedef to the array object. --- dlib/array/array_kernel.h | 1 + dlib/array/array_kernel_abstract.h | 1 + 2 files changed, 2 insertions(+) diff --git a/dlib/array/array_kernel.h b/dlib/array/array_kernel.h index b84dce761..e9dd6e0e9 100644 --- a/dlib/array/array_kernel.h +++ b/dlib/array/array_kernel.h @@ -77,6 +77,7 @@ namespace dlib typedef T type; + typedef T value_type; typedef mem_manager mem_manager_type; array ( diff --git a/dlib/array/array_kernel_abstract.h b/dlib/array/array_kernel_abstract.h index be46036ce..1d7149799 100644 --- a/dlib/array/array_kernel_abstract.h +++ b/dlib/array/array_kernel_abstract.h @@ -53,6 +53,7 @@ namespace dlib public: typedef T type; + typedef T value_type; typedef mem_manager mem_manager_type; array (