Annotation Type UniquePtr


@Documented @Retention(RUNTIME) @Target({METHOD,PARAMETER}) @Adapter("UniquePtrAdapter") public @interface UniquePtr
A shorthand for @Adapter("UniquePtrAdapter<type>"). We can also define the UNIQUE_PTR_NAMESPACE macro to something like boost::movelib instead of the default std.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The template type of UniquePtrAdapter.
  • Element Details

    • value

      String value
      The template type of UniquePtrAdapter. If not specified, it is inferred from the value type of the Pointer or Java array.
      Default:
      ""