View source code
Display the source code in dmd/backend/newman.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

dmd.backend.newman.cpp_operator2 - multiple declarations

Function cpp_operator2

Alternate version that works on a list of token's.

extern(C++) char* cpp_operator2 (
  token_t* to,
  int* pcastoverload
);

Input

to list of tokens

Output

*pcastoverload 1 if user defined type conversion

Convert from operator token to name.

Output

*poper OPxxxx *pt set to type for user defined conversion

Returns

pointer to corresponding name

Function cpp_operator2

Alternate version that works on a list of token's.

extern(C++) char* cpp_operator2 (
  token_t* to,
  int* pcastoverload
);

Input

to list of tokens

Output

*pcastoverload 1 if user defined type conversion

Convert from operator token to name.

Output

*poper OPxxxx *pt set to type for user defined conversion

Returns

pointer to corresponding name

Authors

Walter Bright

License

Boost License 1.0