Thread: Got a problem with "opImplConv()"

Results 1 to 5 of 5

Threaded View

  1. #1
    Registered User
    Join Date
    Jun 2019
    Posts
    5

    Question Got a problem with "opImplConv()"

    When I use opImplConv() to implicitly convert string_t to string, log file says it matches multiple signatures, so the plugin cannot be compiled. Then I find that there are two opImplConv()
    string opImplConv() const Converts this string_t to a string.
    int opImplConv() const Converts this string_t to an integer.

    How can we use two methods with the same name, different return type and without any argument properly? Searched over net still no answer.
    Last edited by Razer; 14-06-2019 at 06:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •