view test/cedet/tests/testdoublens.hpp @ 107233:548e079ffb49

Fix initialization of send-mail-function option. * mail/sendmail.el (send-mail-function): Autoload the call to custom-initialize-delay, not otherwise preserved in loaddefs.el. (Needed since 2009-09-13 change to startup.el.) See http://lists.gnu.org/archive/html/emacs-devel/2010-02/msg00533.html
author Glenn Morris <rgm@gnu.org>
date Thu, 25 Feb 2010 20:40:03 -0800
parents 7f4c7f5c0eba
children 89eccb374dec
line wrap: on
line source

//
// Header file used in one of the ia-utest tests.
//
namespace Name1 {
  namespace Name2 {

    class Foo
    {
      typedef unsigned int Mumble;
    public:
      Foo();
      ~Foo();
      int get();

    private:
      void publishStuff(int a, int b);

      void sendStuff(int a, int b);
    
      Mumble* pMumble;
    };

    typedef Foo stage1_Foo;

  } // namespace Name2

  typedef Name2::stage1_Foo stage2_Foo;

  typedef Name2::Foo decl_stage1_Foo;

} // namespace Name1

typedef Name1::stage2_Foo stage3_Foo;


// Double namespace from Hannu Koivisto
namespace a {
  namespace b {

    class Foo
    {
      struct Dum {
        int diDum;
      };

    protected:
      mutable a::b::Foo::Dum dumdum;
    };

  } // namespace b
} // namespace a

// arch-tag: 22e0ca95-6a61-4627-8816-68c67a896a8d