1. namespace Inkscape {
  2. namespace UI {
  3. Sandwich make_sandwich(int x);
  4. int make_a_mess(float y);
  5. } // namespace UI
  6. } // namespace Inkscape
  7. class Bunkum
  8. : public Nonsense
  9. , protected PublicSpeech
  10. {
  11. public:
  12. Bunkum()
  13. : _x(1024)
  14. , _y(42)
  15. {}
  16. private:
  17. void _forget();
  18. int _x, _y;
  19. };
  20. template <typename Basket>
  21. void fill_basket(Basket &b)
  22. {
  23. switch (a) {
  24. case 1:
  25. do_one();
  26. break;
  27. case 2:
  28. do_two();
  29. break;
  30. default:
  31. break;
  32. }
  33. for (int i = 0; i < 30; ++i) {
  34. b << Inkscape::UI::make_sandwich();
  35. }
  36. return b;
  37. }
 
 

484

Pasted Text #2558

-

PasteBin

Lines
44
Words
81
Tamaño
661 bytes
Creado
Tipo
text/plain
Public Domain (PD)
Please log in to leave a comment!