Apply CRTP idiom to table
authorSangwan Kwon <sangwan.kwon@samsung.com>
Thu, 27 Jun 2019 00:04:40 +0000 (09:04 +0900)
committerSangwan Kwon <sangwan.kwon@samsung.com>
Tue, 9 Jul 2019 23:56:30 +0000 (08:56 +0900)
commit23ba17fb8ea6cb976a70d594284ac79957857fc0
treeb466554807139e957a40f6a1b494ea8fb8c336c8
parent2152b20495f4748da71130ff3b782b5f8a92d773
Apply CRTP idiom to table

This patch is for single responsibility principle.

The curiously recurring template pattern (CRTP) is an idiom in C++
in which a class X derives from a class template instantiation
using X itself as template argument

ref: https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern

Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
tsqb/include/column-pack.hxx
tsqb/include/crud.hxx [new file with mode: 0644]
tsqb/include/database.hxx
tsqb/include/table.hxx