• Forum
  • Lounge
  • typographical error in set_union documen

 
typographical error in set_union documentation

dweather (1)
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.
firedraco (5494)
Go report it using the "Spotted an error?" link at the bottom of that page.
Registered users can post here. Sign in or register to post.