++
Assignee: unassigned at gcc dot gnu.org
Reporter: grishalipenko at protonmail dot com
Target Milestone: ---
Compile: g++ -Wall -Wextra -O2 -Werror -c main.cpp
class S
{
private:
double *x;
double d;
unsigned int N;
public:
int g (const double *b, int N_)
{
N = N_
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: grishalipenko at protonmail dot com
Target Milestone: ---
#include
#include
class A
{
public:
A ()
{
g = std::make_unique (2.0);
}
private:
std::unique_ptr g;
std::vector v
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: grishalipenko at protonmail dot com
Target Milestone: ---
Created attachment 46592
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46592&action=edit
gtest llvm small_vector
It's
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91146
--- Comment #2 from Grigorii Lipenko ---
I remove gtest.h.
#include "small_vector.h"
class A
{
public:
virtual void f () = 0;
};
class B : public A
{
public:
void f () override
{
small_vector v;
v.insert (v.begin (), 1);
}
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91146
--- Comment #3 from Grigorii Lipenko ---
Created attachment 46593
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46593&action=edit
llvm small_vector