public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* Unittests for std::optional
@ 2024-05-23  9:05 Phil Phil
  2024-05-23  9:23 ` Konstantin Kharlamov
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Phil @ 2024-05-23  9:05 UTC (permalink / raw)
  To: Roger Phillips via Libc-help

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]

Greetings,

can you tell me if there are unittests for std::optional and if yes how to build and run them?

Regards

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unittests for std::optional
  2024-05-23  9:05 Unittests for std::optional Phil Phil
@ 2024-05-23  9:23 ` Konstantin Kharlamov
  2024-05-23 10:56   ` Florian Weimer
  0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Kharlamov @ 2024-05-23  9:23 UTC (permalink / raw)
  To: Phil Phil, Roger Phillips via Libc-help

On Thu, 2024-05-23 at 09:05 +0000, Phil Phil via Libc-help wrote:
> Greetings,
> 
> can you tell me if there are unittests for std::optional and if yes
> how to build and run them?
> 
> Regards

You probably wanted to ask GCC project, because that's a C++ template
library and it's implemented by whatever compiler you're using. Which
would be either GCC (for g++) or Clang (for clang++).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unittests for std::optional
  2024-05-23  9:23 ` Konstantin Kharlamov
@ 2024-05-23 10:56   ` Florian Weimer
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Weimer @ 2024-05-23 10:56 UTC (permalink / raw)
  To: Konstantin Kharlamov; +Cc: Phil Phil, Roger Phillips via Libc-help

* Konstantin Kharlamov:

> On Thu, 2024-05-23 at 09:05 +0000, Phil Phil via Libc-help wrote:
>> Greetings,
>> 
>> can you tell me if there are unittests for std::optional and if yes
>> how to build and run them?
>> 
>> Regards
>
> You probably wanted to ask GCC project, because that's a C++ template
> library and it's implemented by whatever compiler you're using. Which
> would be either GCC (for g++) or Clang (for clang++).

It's common to use libstdc++ (the GCC implementation) with Clang as
well, at least on GNU/Linux.

Thanks,
Florian


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-23 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-23  9:05 Unittests for std::optional Phil Phil
2024-05-23  9:23 ` Konstantin Kharlamov
2024-05-23 10:56   ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).