Please sign in to comment.
Summary: File has a default constructor so it can be initialized late, but it doesn't have a good canonical way to see if it's been initialized. This adds an //explicit// operator bool so you can test files like `if (file) ...`. Test Plan: Unit tests Reviewed By: email@example.com FB internal diff: D726914
- Loading branch information...
Showing with 33 additions and 0 deletions.