mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 16:57:01 +08:00
Update README.md to mention exceptions.
This commit is contained in:
parent
cc9e98f382
commit
ca14fbdff8
@ -50,6 +50,8 @@ or:
|
|||||||
```c++
|
```c++
|
||||||
mmap.map(path, error);
|
mmap.map(path, error);
|
||||||
```
|
```
|
||||||
|
**NOTE:** The constructors **require** exceptions to be enabled. If you prefer
|
||||||
|
to build your projects with `-fno-exceptions`, you can still use the other ways.
|
||||||
|
|
||||||
Moreover, in each case, you can provide either some string type for the file's path, or you can use an existing, valid file handle.
|
Moreover, in each case, you can provide either some string type for the file's path, or you can use an existing, valid file handle.
|
||||||
```c++
|
```c++
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user