40 Commits

Author SHA1 Message Date
mandreyel
c7c7163a82 Fix file length calculation bug and half-missing comment 2018-11-27 12:02:46 +01:00
easyaspi314 (Devin)
3c49b5c3fa Add line break and comment #endifs 2018-11-09 11:30:47 -05:00
easyaspi314 (Devin)
cc9e98f382 Conditionally enable the exception-throwing constructors
This allows MIO to be compiled with -fno-exceptions, as that is the
only place where MIO uses them.
2018-11-08 23:32:14 -05:00
mandreyel
45e5fcde97 Third follow up attempt to fix MSVC SFINAE build error 2018-11-07 12:32:08 +01:00
mandreyel
bd14437895 Second follow up attempt to fix MSVC SFINAE build error 2018-11-07 12:08:49 +01:00
mandreyel
261acc6bc6 Follow up attempt to fix MSVC SFINAE build error 2018-11-07 11:42:42 +01:00
mandreyel
0da3002815 Fix missing error code in conditional_sync 2018-11-07 11:08:34 +01:00
mandreyel
d33a0d567f Update docs to specify exception type 2018-10-26 09:02:12 +02:00
AlanAtWork
56aaf4e71f Throw std::system_error 2018-10-25 10:47:05 -05:00
mandreyel
2e048e5a25 Add entire file mapping overload to factory methods 2018-10-25 09:22:46 +02:00
James Darpinian
0b3261071e Map entire file by default. 2018-10-24 23:19:58 -07:00
James Darpinian
99447c57cf MSVC can't handle constexpr INVALID_HANDLE_VALUE
Causes error C2131: expression did not evaluate to a constant
note: failure was caused by unevaluable pointer value
2018-10-24 03:02:02 -07:00
mandreyel
1157537c98 Update docs, example.cpp and README.md 2018-10-22 18:46:07 +02:00
mandreyel
865d7f35ce Update basic_mmap destructor sync behavior 2018-10-22 14:57:47 +02:00
mandreyel
98d0d875b5 Refactor code to remove basic_mmap impl indirection 2018-10-22 14:46:42 +02:00
mandreyel
5ac44ecb00 Create invalid_handle value and update unmapped shared_mmap handle methods to return it 2018-10-22 13:30:35 +02:00
mandreyel
a53f63b58b Update code style in README and test.cpp 2018-09-07 15:59:45 +02:00
mandreyel
f3b8286c47 Move access_mode to page.hpp 2018-07-27 21:47:52 +02:00
mandreyel
7dfc49b197 Update example include and minor style change 2018-07-12 21:31:53 +02:00
mandreyel
c6039f7ab5 Update empty function docs 2018-04-15 19:12:27 +02:00
mandreyel
2659608761 Update iterator documentation 2018-04-15 19:07:19 +02:00
lukediamond
5a6e136512 Fixed mutable begin() for basic_mmap. 2018-04-14 02:00:22 -04:00
mandreyel
dcfce4d0ca Fix shared_mmap API 2017-10-30 10:25:04 +01:00
mandreyel
61470daa08 updated example, removed multi-byte support, bugfix 2017-10-08 23:14:43 +02:00
mandreyel
adf941015f updated README and comments 2017-10-08 17:42:15 +02:00
mandreyel
2024c807f0 bugfix, updated README 2017-10-06 13:18:12 +02:00
mandreyel
0d94b74491 added shared_mmap, slight API changes 2017-10-06 12:57:31 +02:00
mandreyel
c52e35b2e8 removed CharTraits 2017-10-06 00:03:15 +02:00
mandreyel
9c57dc884e typo fix 2017-10-05 16:50:24 +02:00
mandreyel
41d3bf06b0 fixed example code in README 2017-10-05 16:48:06 +02:00
mandreyel
d93caf50b1 file name changes 2017-10-05 16:39:56 +02:00
mandreyel
4084e55430 fixed comments, typedefs 2017-10-05 16:37:30 +02:00
mandreyel
5c9c2e83ad extracted mmap_{source,sink} into one class 2017-10-05 16:29:18 +02:00
mandreyel
1a88259c02 converted mio to templatize the char type 2017-10-04 21:41:18 +02:00
mandreyel
9d09be5cdf added MIT license 2017-10-02 10:51:26 +02:00
mandreyel
2525a2e28b further API changes and bugfixes 2017-09-29 12:42:14 +02:00
mandreyel
3a8722c27e API changes, windows support, bugfixes 2017-09-28 12:56:27 +02:00
mandreyel
cede64f865 minor changes 2017-09-20 13:12:17 +02:00
mandreyel
cc46c17e8f added a few Container ops 2017-09-05 16:23:39 +02:00
mandreyel
4583a6529e first commit 2017-09-04 18:24:40 +02:00