shoo/dio — pull request #2 by tom-tan (2013-06-12 08:38:49+00:00)
Title: Fix "Error: template buffered does not match any function template declaration"

This Pull Request fixes the errors with the message "Error: template dio.core.buffered does not match any function template declaration." on DMD32 2.063 on Windows
(Sorry for long error message...)

```
>make -fwin32.mak
mkdir lib
dmd -lib -property -w -I -oflib\dio.lib dio\core.d dio\file.d dio\socket.d dio\port.d dio\sys\windows.d dio\util\typecons.d dio\util\meta.d dio\util\metastrings_expand.d
dio\port.d(671): Error: template dio.core.buffered does not match any function template declaration. Candidates are:
dio\core.d(345): dio.core.buffered(Dev)(Dev device, size_t bufferSize = 4096) if (isSource!(Dev) || isSink!(Dev))
dio\port.d(671): Error: template dio.core.buffered(Dev)(Dev device, size_t bufferSize = 4096) if (isSource!(Dev) || isSink!(Dev)) cannot deduce template function from argument types !()(Coerced)
dio\port.d(672): Error: template dio.core.buffered does not match any function template declaration. Candidates are:
dio\core.d(345): dio.core.buffered(Dev)(Dev device, size_t bufferSize = 4096) if (isSource!(Dev) || isSink!(Dev))
dio\port.d(672): Error: template dio.core.buffered(Dev)(Dev device, size_t bufferSize = 4096) if (isSource!(Dev) || isSink!(Dev)) cannot deduce template function from argument types !()(Coerced)
dio\port.d(677): Error: TextPort!(_error_) had previous errors
dio\port.d(678): Error: TextPort!(_error_) had previous errors
dio\port.d(716): Error: forward reference to store
dio\port.d(716): Error: forward reference to store
dio\port.d(693): Error: forward reference to store
dio\port.d(693): Error: template dio.core.buffered does not match any function template declaration. Candidates are:
dio\core.d(345): dio.core.buffered(Dev)(Dev device, size_t bufferSize = 4096) if (isSource!(Dev) || isSink!(Dev))
dio\port.d(693): Error: template dio.core.buffered(Dev)(Dev device, size_t bufferSize = 4096) if (isSource!(Dev) || isSink!(Dev)) cannot deduce template function from argument types !()(Coerced)
dio\port.d(698): Error: forward reference to store
dio\port.d(698): Error: template dio.core.buffered does not match any function template declaration. Candidates are:
dio\core.d(345): dio.core.buffered(Dev)(Dev device, size_t bufferSize = 4096) if (isSource!(Dev) || isSink!(Dev))
dio\port.d(698): Error: template dio.core.buffered(Dev)(Dev device, size_t bufferSize = 4096) if (isSource!(Dev) || isSink!(Dev)) cannot deduce template function from argument types !()(Coerced)
dio\port.d(726): Error: forward reference to store
dio\port.d(726): Error: forward reference to store
dio\port.d(730): Error: forward reference to store
dio\port.d(730): Error: forward reference to store
dio\port.d(734): Error: forward reference to store
dio\port.d(734): Error: forward reference to store
dio\port.d(734): Error: cannot return non-void from void function

--- errorlevel 1
```