Modify

Opened 6 years ago

Closed 5 years ago

Last modified 5 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?

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by Daniel James

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

comment:2 Changed 5 years ago by Daniel James

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

Merged to release in [78319]

comment:3 Changed 5 years ago by gast128@…

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

comment:4 Changed 5 years ago by Daniel James

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

comment:5 Changed 5 years ago by gast128@…

Yes Boost.Array has, i just checked.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Daniel James.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.