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.
 
 
 
 
 
 

39 lines
992 B

  1. //
  2. // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See
  5. // accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. #ifndef BOOSTER_SRC_LOCALE_MO_LAMBDA_H_INCLUDED
  9. #define BOOSTER_SRC_LOCALE_MO_LAMBDA_H_INCLUDED
  10. #include <booster/auto_ptr_inc.h>
  11. namespace booster {
  12. namespace locale {
  13. namespace gnu_gettext {
  14. namespace lambda {
  15. struct plural {
  16. virtual int operator()(int n) const = 0;
  17. virtual plural *clone() const = 0;
  18. virtual ~plural()
  19. {
  20. }
  21. };
  22. typedef std::auto_ptr<plural> plural_ptr;
  23. plural_ptr compile(char const *c_expression);
  24. } // lambda
  25. } // gnu_gettext
  26. } // locale
  27. } // boost
  28. #endif
  29. // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4