ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
435 B

  1. <% c++ #include "hello_world_view.h" %>
  2. <% namespace vary %>
  3. <% class master uses view::master %>
  4. <% template test(string &v,int p) %>
  5. <% foreach c in v %>
  6. <% item %><% c %><% end %>
  7. <% end %>
  8. <% end %>
  9. <% template render() %>
  10. <html>
  11. <title>Skin1 :: <% title %></title>
  12. <body>
  13. <% include body() %>
  14. </body>
  15. </html>
  16. <% end template %>
  17. <% template body() %>
  18. <% end template %>
  19. <% end class %>
  20. <% end namespace %>