• Forum
  • Lounge
  • typographical error in set_union documen

 
typographical error in set_union documentation

Hi there,

I just noticed a typographical error in the set_union documentation at:
http://www.cplusplus.com/reference/algorithm/set_union/

The output for the example is given as:

The union has 8 elements:
5 10 15 20 15 30 40 50

however the actual output from this example is:

The union has 8 elements:
5 10 15 20 25 30 40 50

In other words, the second instance of '15' in the documentation needs to be changed to '25'.

I hope this helps.

Cheers.
Go report it using the "Spotted an error?" link at the bottom of that page.
Topic archived. No new replies allowed.