Skip to content

Commit

Permalink
flat_map::at : 不要なコードを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
faithandbrave committed May 17, 2023
1 parent 5e04103 commit e87272b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reference/flat_map/flat_map/at.md
Expand Up @@ -29,7 +29,6 @@ const mapped_type& at(const key_type& x) const; // (2) C++23
#include <flat_map>
#include <stdexcept>
namespace stdx = flat_map;
template<class Container, class T>
void at_wrap(Container& c, T v)
{
Expand All @@ -43,7 +42,7 @@ void at_wrap(Container& c, T v)
int main()
{
stdx::flat_map<int,char> fm;
std::flat_map<int,char> fm;
fm.insert(std::make_pair(1, 'a'));
at_wrap(fm, 1);
Expand Down

0 comments on commit e87272b

Please sign in to comment.