Annotation Type ByRef


Indicates that an argument gets passed or returned by reference. When used alongside FunctionPointer, the Generator passes the underlying C++ function object (aka functor) instead of a function pointer.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A C++ expression to use when null is passed.
    boolean
    When true indicates that the argument actually needs to be an rvalue reference (aka movable value).
  • Element Details

    • value

      boolean value
      When true indicates that the argument actually needs to be an rvalue reference (aka movable value).
      Default:
      false
    • nullValue

      String nullValue
      A C++ expression to use when null is passed. By default NullPointerException is thrown.
      Default:
      ""