Remove support for `Dependency<Handle, T[size]>`.

It was planned for certain pending code, but passing initialization of a
`Dependency` through `Initializer` cannot support arrays well.

Why? While a parameter typed as a reference to an array can accept a bare
braced-init-list, this does not work if the parameter type is merely convertible
from an array (similarly to `std::initializer_list<T>`). This means that all
classes potentially working with array types would need to explicitly handle
accepting references to arrays in addition to generically accepting
`Initializer<T>` as they do now.

For example `StableDependency` would need to explicitly handle array types for
feature parity with `Dependency`.

This is not worth the effort.

`std::array<T, size>`, `Dependency<Handle, T (&)[size]>`, and
`Dependency<Handle, T (&&)[size]>` work without special handling.

PiperOrigin-RevId: 627752265
3 files changed
tree: b9a2de8cf302eab8644fd8a72a32156a24d53190
  1. doc/
  2. python/
  3. riegeli/
  4. tf_dependency/
  5. third_party/
  6. .bazelrc
  7. configure
  8. CONTRIBUTING.md
  9. LICENSE
  10. MANIFEST.in
  11. README.md
  12. WORKSPACE
README.md

Riegeli

Riegeli/records is a file format for storing a sequence of string records, typically serialized protocol buffers. It supports dense compression, fast decoding, seeking, detection and optional skipping of data corruption, filtering of proto message fields for even faster decoding, and parallel encoding.

See documentation.

Status

Riegeli file format will only change in a backward compatible way (i.e. future readers will understand current files, but current readers might not understand files using future features).

Riegeli C++ API might change in incompatible ways.