[roll] Roll fuchsia [fit] static_assert for bad function instantiation

Provide a default implementation of function_impl and callback_impl
that fails with a static_assert. This provides developers with a
clear, actionable error message when they instantiate a fit::function
with an improper type (e.g. void instead of void()). Leaving the
template undefined in these situations is a common pattern, but it
results in confusing, seemingly unrelated error messages that provide
no actionable feedback.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/711592
Original-Revision: f9f809cc1015ee6bc529728aecac09b0a20d17fa
GitOrigin-RevId: 2f3738cf61161b846505f53ca6cf59e61bd36147
Change-Id: Iaacc3ee4a46f27e2e91059e361206852a93d7917
1 file changed
tree: a645730d524124a845da5ff7f0faca25451a814e
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.