commit | fee9455974ccf3528093ae9cc11e8832709c9f87 | [log] [tgz] |
---|---|---|
author | Ewout van Bekkum <ewout@google.com> | Tue Jul 27 13:46:27 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 27 23:23:38 2021 +0000 |
tree | 1fec534413a204a51a3513fc493cb1223f41a748 | |
parent | 889d27b514005e4657efbd847e000ed7f1c24316 [diff] |
pw_function: Function definition to pw namespace Moves the defintion out of pw::function_internal and into the pw namespace. This ensures that the std::nullptr_t comparison helpers work and also makes it easier to users to find/read the public API. In addition the comparison helpers were updated to use explicit static_cast bool conversions instead of using double negatives. Change-Id: I8c1283ab6849543955fb7f03ba061c043861c5bd Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54901 Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Alexei Frolov <frolv@google.com>
See our website: http://pigweed.dev