concept.h 667 B

123456789101112131415161718192021222324252627
  1. // Generic utility for elementwise output
  2. //
  3. // Platform: ISO C++ 98/11
  4. // $Id$
  5. //
  6. // (c) __vic 2011
  7. #ifndef __VIC_WRITERS_CONCEPT_H
  8. #define __VIC_WRITERS_CONCEPT_H
  9. namespace __vic {
  10. //////////////////////////////////////////////////////////////////////////////
  11. // Expected writer's interface (concept)
  12. //////////////////////////////////////////////////////////////////////////////
  13. // template<class ElementT>
  14. // interace Writer
  15. // {
  16. // Writer(Writer && ); or Writer(const Writer & );
  17. // void write(ElementT ); // throws on errors
  18. // };
  19. //////////////////////////////////////////////////////////////////////////////
  20. } // namespace
  21. #endif // header guard