Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
CreateDataType.h
Go to the documentation of this file.
1
6#pragma once
7#include "DataType.h"
8
9namespace example {
10
12public:
13 static DataType create ( );
14};
15
17public:
18 template < typename T >
19 static DataType create ( T a ) {
20 return DataType ( a );
21 }
22
23 static DataType create ( int a );
24};
25
26} /* namespace example */
27
Definition: CreateDataType.h:16
static DataType create(T a)
Definition: CreateDataType.h:19
Definition: CreateDataType.h:11
static DataType create()
Definition: CreateDataType.cpp:13
Definition: DataType.h:15
Definition: CreateDataType.cpp:11