SADMAN's blog

By SADMAN, history, 11 months ago, In English

Why I'm getting Compilation error on a same code? On this one 243516618, I use GNU G++17 7.3.0 and its totally okay and accepted also but when I submit 243516577 same code on GNU G++20 11.2.0 (64 bit, winlibs) language I got compilation error on this problem 1494A - ABC String. Why?

  • Vote: I like it
  • -6
  • Vote: I do not like it

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

C++20 added a new class std::regular, that results in ambiguous with the name of your function regular(std::string)

  • »
    »
    11 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Thanks bro! Now I got it!

    • »
      »
      »
      11 months ago, # ^ |
        Vote: I like it +10 Vote: I do not like it

      Now that I also compiled your code, the compiler clearly states that. Why to ask a question from others and wait a long time for an answer as well as taking time from them, when it can be answered by yourself in a short period of time?

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

BOSS এগিয়ে চলুন!