Skip to content

Commit

Permalink
Add InvokerType, riegeli::Invoker(), and riegeli::OwningInvoker().
Browse files Browse the repository at this point in the history
They complement `MakerType`, `riegeli::Maker()`, and `riegeli::OwningMaker()`
by extending constructors with factory functions.

PiperOrigin-RevId: 647252909
  • Loading branch information
QrczakMK committed Jun 27, 2024
1 parent 2d6bbf8 commit 2d720ea
Show file tree
Hide file tree
Showing 6 changed files with 591 additions and 21 deletions.
2 changes: 2 additions & 0 deletions riegeli/base/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ cc_library(
srcs = ["initializer_internal.h"],
hdrs = [
"initializer.h",
"invoker.h",
"maker.h",
"temporary_storage.h",
],
Expand All @@ -189,6 +190,7 @@ cc_library(
"@com_google_absl//absl/base",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/meta:type_traits",
"@com_google_absl//absl/utility",
],
)

Expand Down
Loading

0 comments on commit 2d720ea

Please sign in to comment.