Class: Benchcc::MPL::Sequence
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Benchcc::MPL::Sequence
- Defined in:
- lib/benchcc/mpl.rb
Instance Method Summary collapse
Instance Method Details
#headers(name) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/benchcc/mpl.rb', line 12 def headers(name) [ "boost/mpl/#{name}/#{name}#{[size.round_up(1), 50].min}.hpp", size > 50 ? "boost/mpl/#{name}/aux_/item.hpp" : nil ].compact end |
#includes ⇒ Object
8 9 10 |
# File 'lib/benchcc/mpl.rb', line 8 def includes headers.map { |hdr| "#include <#{hdr}>" }.join("\n") end |