knowL: Knowledge Libraries
Loading...
Searching...
No Matches
NamedType.h
1#pragma once
2
3#include <cext_nt>
4
5#include <Cyqlops/Crypto/Hash.h>
6
7namespace Cyqlops::Crypto::Hash
8{
9 template<typename _T_, typename _Tag_, int _Options_>
10 struct Compute<cext_named_type<_T_, _Tag_, _Options_>>
11 {
12 Compute(QCryptographicHash& _algorithm, const cext_named_type<_T_, _Tag_, _Options_>& _v)
13 {
14 compute(_algorithm, _v.get_value());
15 }
16 };
17} // namespace Cyqlops::Crypto::Hash