[PATCH] D136554: Implement CWG2631
    Corentin Jabot via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri Dec  9 16:44:50 PST 2022
    
    
  
cor3ntin added a comment.
Thanks!
Cleaned up version:
  struct string {
    constexpr string(const char*) {};
    constexpr ~string();
  };
  struct AutocompleteParsingResult;
  struct optional {
      template <typename U = AutocompleteParsingResult> 
      constexpr optional(U &&) {}
  };
  struct AutocompleteParsingResult {
      string StringPiece;
      optional expected_result;
      int max_length = 0;
  } kAutocompleteTestcases {
      "", {
          { "", 0 }
      }
  };
And yes, this is about as reduced as I can make it.
I'll investigate later....
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136554/new/
https://reviews.llvm.org/D136554
    
    
More information about the cfe-commits
mailing list