| commit | f28527645a3c9f7e8fe1b09fdacf2bc9efdcda56 | [log] [tgz] |
|---|---|---|
| author | Wyatt Hepler <hepler@fuchsia.infra.roller.google.com> | Tue Aug 16 23:30:11 2022 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue Aug 16 16:32:37 2022 -0700 |
| tree | a645730d524124a845da5ff7f0faca25451a814e | |
| parent | 4064ca0b9b1d81a944d00404b556326d1a8aef5b [diff] |
[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
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.