initial code
This commit is contained in:
commit
0fa524693b
3 changed files with 224 additions and 0 deletions
12
test.sh
Executable file
12
test.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
cmd="g++ -O3 -std=c++0x "
|
||||
$cmd inheritance_functor.cpp -o inheritance_functor
|
||||
echo "inheritance_functor"
|
||||
time ./inheritance_functor
|
||||
|
||||
echo ""
|
||||
echo "crtp_functor_ttp"
|
||||
$cmd crtp_functor_ttp.cpp -o crtp_functor_ttp
|
||||
time ./crtp_functor_ttp
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue