Skip to content

[libc++][test] facet.num.get.members/get_long.pass.cpp uses std::to_string() without including <string> #182390

@StephanTLavavej

Description

@StephanTLavavej

This test needs to include <string>. Found by MSVC's STL.

#include <locale>
#include <ios>
#include <cassert>
#include <limits>
#include <streambuf>
#include "test_macros.h"
#include "test_iterators.h"

std::string str = std::to_string(std::numeric_limits<unsigned long>::max()) + "99a";

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.test-suite

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions