Class: Benchcc::Fusion::List
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Benchcc::Fusion::List
- Defined in:
- lib/benchcc/fusion.rb
Instance Method Summary collapse
Instance Method Details
#headers ⇒ Object
15 16 17 |
# File 'lib/benchcc/fusion.rb', line 15 def headers ["boost/fusion/container/list/list.hpp"] end |
#includes ⇒ Object
9 10 11 12 13 |
# File 'lib/benchcc/fusion.rb', line 9 def includes inc = ["#define FUSION_MAX_LIST_SIZE 50"] inc << headers.map { |hdr| "#include <#{hdr}>" } inc.join("\n") end |
#to_s ⇒ Object
19 20 21 |
# File 'lib/benchcc/fusion.rb', line 19 def to_s "boost::fusion::list<#{join(', ')}>" end |