summaryrefslogtreecommitdiffstats
path: root/ml/dlib/dlib/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'ml/dlib/dlib/stack.h')
-rw-r--r--ml/dlib/dlib/stack.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/ml/dlib/dlib/stack.h b/ml/dlib/dlib/stack.h
new file mode 100644
index 00000000..58f2c5a6
--- /dev/null
+++ b/ml/dlib/dlib/stack.h
@@ -0,0 +1,34 @@
+// Copyright (C) 2003 Davis E. King (davis@dlib.net)
+// License: Boost Software License See LICENSE.txt for the full license.
+#ifndef DLIB_STACk_
+#define DLIB_STACk_
+
+#include "stack/stack_kernel_1.h"
+#include "stack/stack_kernel_c.h"
+#include "algs.h"
+
+namespace dlib
+{
+
+ template <
+ typename T,
+ typename mem_manager = default_memory_manager
+ >
+ class stack
+ {
+ stack() {}
+ public:
+
+ //----------- kernels ---------------
+
+ // kernel_1a
+ typedef stack_kernel_1<T,mem_manager>
+ kernel_1a;
+ typedef stack_kernel_c<kernel_1a>
+ kernel_1a_c;
+
+ };
+}
+
+#endif // DLIB_STACk_
+