User Tools

Site Tools


cpp:boost_fusion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cpp:boost_fusion [2020/05/11 22:07] – created allsparkcpp:boost_fusion [2020/05/11 22:08] (current) allspark
Line 4: Line 4:
 #include <iostream> #include <iostream>
  
-struct Callback_base { 
-  virtual int execute() = 0; 
-}; 
  
-struct Up final : Callback_base +struct Up { 
-  int execute() override+  int execute()
   {   {
     return 3;     return 3;
Line 15: Line 12:
 }; };
  
-struct Down final : Callback_base +struct Down { 
-  int execute() override+  int execute()
   {   {
     return 4;     return 4;
Line 22: Line 19:
 }; };
  
-struct Home final : Callback_base +struct Home { 
-  int execute() override+  int execute()
   {   {
     return 5;     return 5;
cpp/boost_fusion.1589227636.txt.gz · Last modified: by allspark