| |

VerySource

 Forgot password?
 Register
Search
View: 868|Reply: 5

multiset< int, less< int>> ??

[Copy link]

1

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-12-14 11:30:01
| Show all posts |Read mode
typedef multiset< int, less< int>> ims;

Define a multiset type

The definition of multiset< int, less< int>> is not described in multiset at http://www.cppreference.com/cppmultiset/index.html. In other words, when I am not familiar with this category, how do I know how to use this category? I think the reference has to tell me how to use this method before I can call it.


Please advise.
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-12-14 13:15:01
| Show all posts
Because the reference is not well done.
Find a complete STL document, see MSDN, please refer to the description of std::multiset and std::less respectively.
Reply

Use magic Report

1

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

 Author| Post time: 2020-12-14 13:45:01
| Show all posts
Can you recommend a good C++ document, standard class library, do not cover vc++, in order to learn and upgrade.

I have always wanted to find a reference that can be understood at a glance, such as java api. You can know the hierarchical structure, affiliation, member methods and so on at a glance. You can know how to call it by looking at this.

Thank you
Reply

Use magic Report

0

Threads

49

Posts

34.00

Credits

Newbie

Rank: 1

Credits
34.00

 China

Post time: 2020-12-15 10:30:02
| Show all posts
C++ standard library-translated by Hou Jie
Reply

Use magic Report

0

Threads

37

Posts

28.00

Credits

Newbie

Rank: 1

Credits
28.00

 China

Post time: 2020-12-15 11:00:01
| Show all posts
multiset< int, less< int> >This is a custom type, it is impossible to help you list it. less<int> is a constraint, which specifies a function object of a comparative size.
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-12-15 11:30:01
| Show all posts
As a reference manual, MSDN can.
The content of "C++ Standard Library" is detailed but not comprehensive enough for learning and use, but it is not suitable for reference.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list