how to check if a file is emtpy with ofstream

How would I go about creating a if statement checking if a file is empty ex.a text file with no text in it?
Topic archived. No new replies allowed.