Skip to content

by doing weird shit during building you can make template functions act like regular functions

Notifications You must be signed in to change notification settings

ilazaric/template-definition-separation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

template-definition-separation

by doing weird shit during building you can make template functions act like regular functions

$ ./build.sh
Cleaning objdir ...
Building main.o ...
Generating explicit instantiations ...
Found symbol: Bla<int>::f()
Found symbol: Bla<int>::g(int, int)
Building lib.o ...
Building main ...
Success !!!
$ ./main ; echo $?
11

About

by doing weird shit during building you can make template functions act like regular functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published