Should be:
```c++
float width() const;
```