Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::regex_error::regex_error

      From cppreference.com
      <cpp‎ |regex‎ |regex error
       
       
       
      Regular expressions library
      Classes
      (C++11)
      Algorithms
      Iterators
      Exceptions
      Traits
      Constants
      (C++11)
      Regex Grammar
       
       
      Defined in header<regex>
      (1)(since C++11)
      regex_error(const regex_error& other);
      (2)(since C++11)
      1) Constructs aregex_error with a givenecode of typestd::regex_constants::error_type.
      2) Copy constructor. Initializes the contents with those ofother. If*this andother both have dynamic typestd::regex_error thenstd::strcmp(what(), other.what())==0.

      [edit]Parameters

      ecode - error code indicating the error raised in regular expression parsing
      other - anotherregex_error object to copy

      [edit]See also

      (C++11)
      describes different types of matching errors
      (typedef)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/regex/regex_error/regex_error&oldid=160537"

      [8]ページ先頭

      ©2009-2025 Movatter.jp