N3671

Making non-modifying sequence operations more robust: Revision 2