resolve template specialization with inline keyword

This commit is contained in:
hugogogo
2022-06-18 17:58:14 +02:00
parent 72762a79cb
commit 94745ca8a9
11 changed files with 222 additions and 327 deletions

View File

@@ -32,7 +32,7 @@ RESET = "\e[0m"
NAME = containers
CC = clang++
CC = g++
EXT = cpp
CFLAGS = -Wall -Wextra -Werror $(INCLUDES)
@@ -44,22 +44,22 @@ VPATH = $(D_SRCS)
LIBS =
F_INCLUDES = $(HEADERS:%=$(D_HEADERS)/%) \
$(TEMPLATES:%=$(D_TEMPLATES)/%)
$(TEMPLATES:%=$(D_TEMPLATES)/%) \
$(TESTS:%=$(D_TESTS)/%)
INCLUDES = -I$(D_HEADERS) \
-I$(D_TEMPLATES)
-I$(D_TEMPLATES) \
-I$(D_TESTS)
D_SRCS = ./tests
#SRCS = main42.cpp
SRCS = main.cpp \
tests_vector.cpp
# tests_map.cpp
tests_definitions.cpp \
\
tests_vector.cpp \
tests_map.cpp
D_HEADERS = ./headers
HEADERS = colors.h \
tests_utils.hpp \
tests_proto.hpp \
A_test.hpp \
\
enable_if.hpp \
iterator_traits.hpp \
@@ -72,6 +72,10 @@ HEADERS = colors.h \
D_TEMPLATES = ./templates
TEMPLATES = vector.tpp
D_TESTS = ./tests/includes
TESTS = main.hpp \
tests_utils.hpp
D_OBJS = builds
OBJS = $(SRCS:%.$(EXT)=$(D_OBJS)/%.o)