Class: Benchcc::Fusion::Vector
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Benchcc::Fusion::Vector
- Defined in:
- lib/benchcc/fusion.rb
Instance Method Summary collapse
Instance Method Details
#headers ⇒ Object
45 46 47 |
# File 'lib/benchcc/fusion.rb', line 45 def headers ["boost/fusion/container/vector/vector#{[10, size.round_up(1)].max}.hpp"] end |
#includes ⇒ Object
41 42 43 |
# File 'lib/benchcc/fusion.rb', line 41 def includes headers.map { |hdr| "#include <#{hdr}>" }.join("\n") end |
#to_s ⇒ Object
49 50 51 |
# File 'lib/benchcc/fusion.rb', line 49 def to_s "boost::fusion::vector#{size}<#{join(', ')}>" end |