ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
string6.cpp
Go to the documentation of this file.
1 
8 #include <adstring.hpp>
9 
16 adstring operator+(const adstring& u, const unsigned char v)
17 {
18  return (u + adstring(v));
19 }
26 adstring operator+(const adstring& u, const char v)
27 {
28  return (u + adstring(v));
29 }
36 adstring operator+(const adstring& u, const unsigned char* v)
37 {
38  return (u + adstring(v));
39 }
46 adstring operator+(const adstring& u, const char* v)
47 {
48  return (u + adstring(v));
49 }
56 adstring operator+(const unsigned char* v, const adstring& u)
57 {
58  return (adstring(v) + u);
59 }
66 adstring operator+(const char* v, const adstring& u)
67 {
68  adstring vv = v;
69  return (vv+u);
70 }
77 adstring operator+(const unsigned char u, const adstring& v)
78 {
79  adstring uu = u;
80  return (uu + v);
81 }
d3_array operator+(const d3_array &a, const d3_array &b)
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k).
Definition: d3arr2a.cpp:132