File: string_traits.hpp

package info (click to toggle)
pygccxml 3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,444 kB
  • sloc: xml: 29,841; python: 13,914; cpp: 2,671; makefile: 163; ansic: 59
file content (38 lines) | stat: -rw-r--r-- 746 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright 2014-2017 Insight Software Consortium.
// Copyright 2004-2009 Roman Yakovenko.
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt

#include <string>

namespace string_traits{
namespace yes{
    typedef std::string x1;
    typedef const std::string x2;
    typedef std::string& x3;
    typedef const std::string& x4;
}

namespace no{
    typedef int x1;
    typedef const int x2;
    typedef const int& x3;
}

}

namespace wstring_traits{
namespace yes{
    typedef std::wstring x1;
    typedef const std::wstring x2;
    typedef std::wstring& x3;
    typedef const std::wstring& x4;
}

namespace no{
    typedef int x1;
    typedef const int x2;
    typedef const int& x3;
}

}