Modify

Ticket #6806 (closed Feature Requests: fixed)

Opened 2 years ago

Last modified 22 months ago

Support std::array

Reported by: Olaf van der Spek <olafvdspek@…> Owned by: danieljames
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

Change History

comment:1 Changed 2 years ago by danieljames

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

comment:2 Changed 2 years ago by danieljames

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from To Be Determined to Boost 1.50.0

Merged to release in [78319]

comment:3 Changed 22 months ago by gast128@…

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

comment:4 Changed 22 months ago by danieljames

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

comment:5 Changed 22 months ago by gast128@…

Yes Boost.Array has, i just checked.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.