Changes in / [0eb18557:e869e434]
- Files:
-
- 2 added
- 3 edited
-
doc/generic_types/evaluation/Makefile (modified) (1 diff)
-
doc/generic_types/evaluation/cpp-vbench.cpp (modified) (1 diff)
-
src/libcfa/Makefile.am (modified) (1 diff)
-
src/libcfa/containers/pair (added)
-
src/libcfa/containers/pair.c (added)
Legend:
- Unmodified
- Added
- Removed
-
doc/generic_types/evaluation/Makefile
r0eb18557 re869e434 6 6 .PHONY: all clean distclean run-c run-cpp run-cfa run 7 7 8 all: c-bench cpp-bench cfa-bench 8 all: c-bench cpp-bench cfa-bench cpp-vbench 9 9 10 10 # rewrite object generation to auto-determine deps -
doc/generic_types/evaluation/cpp-vbench.cpp
r0eb18557 re869e434 42 42 ) 43 43 44 pair max2 = { std::make_unique<boolean>(false), std::make_unique<character>('\0') }; 44 auto max2 = std::make_unique<pair>( std::make_unique<boolean>(false), 45 std::make_unique<character>('\0') ); 45 46 REPEAT_TIMED( "pop_bool_char", 46 max2 = std::max( max2, t2.pop()->as<pair>() ); 47 std::unique_ptr<object> x = t2.pop(); 48 if ( x->as<pair>() > *max2 ) { max2.reset( static_cast<pair*>(x.release()) ); } 47 49 ) 48 50 } -
src/libcfa/Makefile.am
r0eb18557 re869e434 41 41 CC = ${abs_top_srcdir}/src/driver/cfa 42 42 43 headers = limits stdlib math iostream fstream iterator rational assert containers/ vector43 headers = limits stdlib math iostream fstream iterator rational assert containers/pair containers/vector 44 44 45 45 # not all platforms support concurrency, add option do disable it
Note:
See TracChangeset
for help on using the changeset viewer.