llarp/path/path_types.hpp

Namespaces

Name
llarp
[crypto.hpp]
std
STL namespace.

Classes

Name
struct llarp::PathID_t
struct std::hash< llarp::PathID_t >

Source code

#pragma once

#include <llarp/crypto/constants.hpp>
#include <llarp/util/aligned.hpp>

namespace llarp
{
  struct PathID_t final : public AlignedBuffer<PATHIDSIZE>
  {
    using AlignedBuffer<PATHIDSIZE>::AlignedBuffer;
  };

}  // namespace llarp

namespace std
{
  template <>
  struct hash<llarp::PathID_t> : hash<llarp::AlignedBuffer<llarp::PathID_t::SIZE>>
  {};
}  // namespace std

Updated on 2026-01-10 at 22:49:45 +0000