Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#6806 closed Feature Requests (fixed)

Support std::array

Reported by: Olaf van der Spek <olafvdspek@…> Owned by: Daniel James
Milestone: Boost 1.50.0 Component: hash
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

boost::hash_value appears to lack support for std::array. Could you add it?

Isn't it possible to support all containers in a generic way?

Change History (5)

comment:1 by Daniel James, 11 years ago

(In [78144]) Hash: Support std::array and std::tuple. Refs #6806.

comment:2 by Daniel James, 10 years ago

Milestone: To Be DeterminedBoost 1.50.0
Resolution: fixed
Status: newclosed

Merged to release in [78319]

comment:3 by gast128@…, 10 years ago

Does this also work for Boost.Array and Boost.Tuple?

comment:4 by Daniel James, 10 years ago

No, they need to implement hash_value themselves. I think Boost.Array has, but Boost.Tuple hasn't.

comment:5 by gast128@…, 10 years ago

Yes Boost.Array has, i just checked.

Note: See TracTickets for help on using tickets.