Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit dcbabdf

Browse files
Khalil Estellkammce
authored andcommitted
hal::match now takes multiple arguments
Resolves #695
1 parent 5c1c247 commit dcbabdf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/libhal/error.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
namespace hal {
2323

24-
template<typename T, T value>
25-
using match = boost::leaf::match<T, value>;
24+
template<typename T, T... value>
25+
using match = boost::leaf::match<T, value...>;
2626
template<class T>
2727
using result = boost::leaf::result<T>;
2828
using status = result<void>;

0 commit comments

Comments
 (0)