++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
#include
#include
#include
int main()
{
std::cout << __cpp_lib_formatters << std::endl;
std::cout << std::format("{}", std::this_th
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
#include
#include
int main() {
std::stacktrace trace{};
std::cout << trace.max_size() << std::endl;
}
outputs:
In file included f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97613
--- Comment #1 from Akira Takahashi ---
- #include
+ #include
#include
#include
namespace chrono = std::chrono;
using namespace std::chrono_literals;
int main()
{
chrono::sys_days date1 = 2020y/3/chrono::Sunday[1];
assert(chrono::year_
: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
#include
#include
namespace chrono = std::chrono;
using namespace std::chrono_literals;
int main()
{
// 1
ormal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
#include
int main() {
int ar[] = {1, 2, 3};
std::for_each_n(ar, 3, [](int) {});
}
doesn't compil
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
Pattern A (OK) :
#include
struct B;
struct A { std::unique_ptr p; };
int main() {}
Pattern B (Compilation Error) :
#include
struct B;
struct A { std::unique_ptr p
IRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
#include
#include
#include
namespace fs = std::filesystem;
int main()
{
IRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
#include
#include
#include
namespace fs = std::filesystem;
int main()
{
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
Standard says:
N4660 30.10.8.4.3 path appends [fs.path.append]
// On POSIX,
path("foo") / ""; // yields "
: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Target Milestone: ---
Current is_absolute implementation is follow:
inline bool
path::is_absolute() const
{
#ifdef _GLIBCXX_FILESYSTEM_IS_WINDOWS
return has_root_name();
#else
return
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65790
--- Comment #5 from Akira Takahashi ---
Thanks Paolo!!
++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Compilation error follow code:
#include
#include
void g(std::size_t a, std::size_t b, std::size_t c)
{
std::cout << a << ", " << b << ", " &l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62119
--- Comment #1 from Akira Takahashi ---
expected output:
0
99
99
3
4
5
99
99
8
9
10
99
99
13
14
y: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
follow code happens segmentation fault by dangling deference.
#include
#include
#include
int main()
{
std::valarray v(15);
std::iota(std::begin(v), std::end(v), 0);
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59709
Akira Takahashi changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59709
--- Comment #1 from Akira Takahashi ---
Boost version is 1.55.0.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Hi, I encountered difficult problem. If I use -O2 option, follow code behavior
be break. (in GCC 4.8.2)
#include
#include
#include
namespace qi = boost::spirit::qi;
int main()
{
const std
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
Follow code become compilation error:
#include
int main()
{
typedef std::negative_binomial_distribution<> dist_type;
: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: faithandbrave at gmail dot com
In (bits/random.h)'s std::normal_distribution, min() function's
implementation is follow:
/**
* @brief Returns the greatest lower bound value of the di
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55847
Bug #: 55847
Summary: mistake bad_weak_ptr::what() message
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Pr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53515
Bug #: 53515
Summary: InputIterator version std::advance needs positive
check
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
S
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53080
--- Comment #5 from Akira Takahashi 2012-04-23
12:32:13 UTC ---
(In reply to comment #4)
> Done.
Great thanks!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53080
Bug #: 53080
Summary: std::array - std::get() and std::tuple_element is
nothing bounds check
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIR
23 matches
Mail list logo