| 1 |
BR = <br> |
|---|
| 2 |
DDOC_DITTO = $(BR)$0 |
|---|
| 3 |
DDOC_SUMMARY = $0$(P) |
|---|
| 4 |
DDOC_DESCRIPTION = $0$(P) |
|---|
| 5 |
DDOC_AUTHORS = $(B Authors:)$(BR)$0$(P) |
|---|
| 6 |
DDOC_BUGS = $(RED BUGS:)$(BR)$0$(P) |
|---|
| 7 |
DDOC_COPYRIGHT = $(B Copyright:)$(BR)$0$(P) |
|---|
| 8 |
DDOC_DATE = $(B Date:)$(BR)$0$(P) |
|---|
| 9 |
DDOC_DEPRECATED = $(RED Deprecated:)$(BR)$0$(P) |
|---|
| 10 |
DDOC_EXAMPLES = $(B Examples:)$(BR)$0$(P) |
|---|
| 11 |
DDOC_HISTORY = $(B History:)$(BR)$0$(P) |
|---|
| 12 |
DDOC_LICENSE = $(B License:)$(BR)$0$(P) |
|---|
| 13 |
DDOC_RETURNS = $(B Returns:)$(BR)$0$(P) |
|---|
| 14 |
DDOC_SEE_ALSO = $(B See Also:)$(BR)$0$(P) |
|---|
| 15 |
DDOC_STANDARDS = $(B Standards:)$(BR)$0$(P) |
|---|
| 16 |
DDOC_THROWS = $(B Throws:)$(BR)$0$(P) |
|---|
| 17 |
DDOC_VERSION = $(B Version:)$(BR)$0$(P) |
|---|
| 18 |
DDOC_SECTION_H = $(B $0)$(BR) |
|---|
| 19 |
DDOC_SECTION = $0$(P) |
|---|
| 20 |
DDOC_PARAMS = $(B Parameters:)<table class=parms>$0</table>$(P) |
|---|
| 21 |
DDOC_BLANKLINE = $(P) |
|---|
| 22 |
|
|---|
| 23 |
DDOC = <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
|---|
| 24 |
"http://www.w3.org/TR/html4/loose.dtd"> |
|---|
| 25 |
<html> |
|---|
| 26 |
|
|---|
| 27 |
<!-- |
|---|
| 28 |
Copyright (c) 1999-2010 by Digital Mars |
|---|
| 29 |
All Rights Reserved Written by Walter Bright |
|---|
| 30 |
http://www.digitalmars.com |
|---|
| 31 |
--> |
|---|
| 32 |
|
|---|
| 33 |
<head> |
|---|
| 34 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" > |
|---|
| 35 |
<title>$(TITLE) - D Programming Language - Digital Mars</title> |
|---|
| 36 |
<link rel="stylesheet" type="text/css" href="../style.css"> |
|---|
| 37 |
|
|---|
| 38 |
<script> |
|---|
| 39 |
function listanchors() |
|---|
| 40 |
{ |
|---|
| 41 |
var a = document.getElementById("quickindex"); |
|---|
| 42 |
if (!a) return; |
|---|
| 43 |
var newText = ""; |
|---|
| 44 |
var hash = new Array; |
|---|
| 45 |
var n = 0; |
|---|
| 46 |
var values = new Array; |
|---|
| 47 |
// List all anchors. |
|---|
| 48 |
for (var i = 0; i < document.anchors.length; i++) |
|---|
| 49 |
{ |
|---|
| 50 |
var a = document.anchors[i]; |
|---|
| 51 |
var text = a.name; |
|---|
| 52 |
if (hash[text] > 0) continue; |
|---|
| 53 |
hash[text] = 1; |
|---|
| 54 |
values[n++] = a.name |
|---|
| 55 |
} |
|---|
| 56 |
|
|---|
| 57 |
values.sort(); |
|---|
| 58 |
|
|---|
| 59 |
for(var i = 0; i < values.length; i++) { |
|---|
| 60 |
var a = values[i]; |
|---|
| 61 |
newText += '<a href="#' + a + '"><span class="d_psymbol">' |
|---|
| 62 |
+ a + '</span></a> '; |
|---|
| 63 |
} |
|---|
| 64 |
if (newText != "") newText = "<p><b>Jump to:</b> " + newText + '</p>'; |
|---|
| 65 |
var a = document.getElementById("quickindex"); |
|---|
| 66 |
a.innerHTML = newText; |
|---|
| 67 |
} |
|---|
| 68 |
</script> |
|---|
| 69 |
|
|---|
| 70 |
</head> |
|---|
| 71 |
|
|---|
| 72 |
<body onload="listanchors()"> |
|---|
| 73 |
<div id="heading"> |
|---|
| 74 |
<a href="http://www.digitalmars.com/"><img src="../dmlogo.gif" width="270" height="53" border="0" alt="www.digitalmars.com" align="left"></a> |
|---|
| 75 |
<p align="right">D Programming Language 2.0</p> |
|---|
| 76 |
|
|---|
| 77 |
|
|---|
| 78 |
<div id="headingNav"> |
|---|
| 79 |
$(UL |
|---|
| 80 |
$(LI <a href="http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/$(WIKI)" title="Read/write comments and feedback">Comments</a>) |
|---|
| 81 |
$(LI <a href="../index.html" title="D Programming Language" class="dlink">D</a>) |
|---|
| 82 |
$(LI <a href="http://www.digitalmars.com/advancedsearch.html" title="Search Digital Mars web site">Search</a>) |
|---|
| 83 |
$(LI <a href="http://www.digitalmars.com/" title="www.digitalmars.com">Home</a>) |
|---|
| 84 |
) |
|---|
| 85 |
</div> |
|---|
| 86 |
|
|---|
| 87 |
<div id="lastupdate">Last update $(DATETIME)</div> |
|---|
| 88 |
</div> |
|---|
| 89 |
|
|---|
| 90 |
<div id="navigation"> |
|---|
| 91 |
$(TOP) |
|---|
| 92 |
$(NAVIGATION_PHOBOS) |
|---|
| 93 |
</div> |
|---|
| 94 |
<div id="content"> |
|---|
| 95 |
<h1>$(TITLE)</h1> |
|---|
| 96 |
<div id=quickindex class=quickindex></div> |
|---|
| 97 |
$(BODY) |
|---|
| 98 |
$(GOOGLE_FOOTER) |
|---|
| 99 |
</div> |
|---|
| 100 |
|
|---|
| 101 |
|
|---|
| 102 |
<div id="copyright"> |
|---|
| 103 |
$(COPYRIGHT) | |
|---|
| 104 |
Page generated by $(LINK2 http://www.digitalmars.com/d/2.0/ddoc.html, Ddoc). |
|---|
| 105 |
</div> |
|---|
| 106 |
|
|---|
| 107 |
</body> |
|---|
| 108 |
</html> |
|---|
| 109 |
|
|---|
| 110 |
GOOGLE_FOOTER= |
|---|
| 111 |
<br><br> |
|---|
| 112 |
<br><br> |
|---|
| 113 |
<!-- Google ad --> |
|---|
| 114 |
<script type="text/javascript"><!-- |
|---|
| 115 |
/**/google_ad_client = "pub-5628673096434613"; |
|---|
| 116 |
/**/google_ad_width = 728; |
|---|
| 117 |
/**/google_ad_height = 90; |
|---|
| 118 |
/**/google_ad_format = "728x90_as"; |
|---|
| 119 |
/**/google_ad_channel ="6203743411"; |
|---|
| 120 |
/**/google_page_url = document.location; |
|---|
| 121 |
//--></script> |
|---|
| 122 |
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> |
|---|
| 123 |
</script> |
|---|
| 124 |
|
|---|
| 125 |
TOP= |
|---|
| 126 |
<div class="navblock"> |
|---|
| 127 |
<form method="get" action="http://www.google.com/search"> |
|---|
| 128 |
<div id="searchbox"> |
|---|
| 129 |
<input id="q" name="q" size="10" value="RTL Search" onFocus='if(this.value == "RTL Search"){this.value="";}'> |
|---|
| 130 |
<input type="hidden" id="domains" name="domains" value="www.digitalmars.com"> |
|---|
| 131 |
<input type="hidden" id="sitesearch" name="sitesearch" value="www.digitalmars.com/d/2.0/phobos"> |
|---|
| 132 |
<input type="hidden" id="sourceid" name="sourceid" value="google-search"> |
|---|
| 133 |
<input type="submit" id="submit" name="submit" value="Go"> |
|---|
| 134 |
</div> |
|---|
| 135 |
</form> |
|---|
| 136 |
<div id="toctop"> |
|---|
| 137 |
$(UL |
|---|
| 138 |
$(LI <a href="../index.html" title="D Programming Language">D</a>) |
|---|
| 139 |
$(LI <a href="../lex.html" title="D Language Specification">Language</a>) |
|---|
| 140 |
$(LI <a href="phobos.html" title="D Runtime Library">Phobos</a>) |
|---|
| 141 |
$(LI <a href="../comparison.html" title="Language Comparisons">Comparisons</a>) |
|---|
| 142 |
) |
|---|
| 143 |
</div> |
|---|
| 144 |
</div> |
|---|
| 145 |
|
|---|
| 146 |
NAVIGATION_PHOBOS= |
|---|
| 147 |
<div class="navblock"> |
|---|
| 148 |
$(UL |
|---|
| 149 |
$(LI <a href="object.html" title="root of object hierarchy">object</a>) |
|---|
| 150 |
) |
|---|
| 151 |
<h2><a href="phobos.html#std" title="D standard modules">std</a></h2> |
|---|
| 152 |
$(UL |
|---|
| 153 |
$(LI <a href="std_algorithm.html" title="General-purpose algorithms">std.algorithm</a>) |
|---|
| 154 |
$(LI <a href="std_array.html" title="Array functions">std.array</a>) |
|---|
| 155 |
$(LI <a href="std_base64.html" title="Encode/decode base64 format">std.base64</a>) |
|---|
| 156 |
$(LI <a href="std_bigint.html" title="Arbitrary-precision ('bignum') arithmetic">std.bigint</a>) |
|---|
| 157 |
$(LI <a href="std_bitmanip.html" title="Bit-level manipulation">std.bitmanip</a>) |
|---|
| 158 |
$(LI <a href="std_compiler.html" title="Information about the D compiler implementation">std.compiler</a>) |
|---|
| 159 |
$(LI <a href="std_complex.html" title="Complex numbers">std.complex</a>) |
|---|
| 160 |
$(LI <a href="std_concurrency.html" title="Message Passing">std.concurrency</a>) |
|---|
| 161 |
$(LI <a href="std_container.html" title="Containers">std.container</a>) |
|---|
| 162 |
$(LI <a href="std_contracts.html" title="Think assert">std.contracts</a>) |
|---|
| 163 |
$(LI <a href="std_conv.html" title="Conversion of strings to integers">std.conv</a>) |
|---|
| 164 |
$(LI <a href="std_cover.html" title="D coverage analyzer">std.cover</a>) |
|---|
| 165 |
$(LI <a href="std_cpuid.html" title="CPU identification">std.cpuid</a>) |
|---|
| 166 |
$(LI <a href="std_ctype.html" title="Simple character classification">std.ctype</a>) |
|---|
| 167 |
$(LI <a href="std_date.html" title="Date and time functions">std.date</a>) |
|---|
| 168 |
$(LI <a href="std_datetime.html" title="Date and time functions">std.datetime</a>) |
|---|
| 169 |
$(LI <a href="std_demangle.html" title="Demangle D names">std.demangle</a>) |
|---|
| 170 |
$(LI <a href="std_encoding.html" title="Character and string encoding">std.encoding</a>) |
|---|
| 171 |
$(LI <a href="std_exception.html" title="Exceptions and error handling">std.exception</a>) |
|---|
| 172 |
$(LI <a href="std_file.html" title="Basic file operations">std.file</a>) |
|---|
| 173 |
$(LI <a href="std_format.html" title="Formatted conversions of values to strings">std.format</a>) |
|---|
| 174 |
$(LI <a href="std_functional.html" title="functional">std.functional</a>) |
|---|
| 175 |
$(LI <a href="std_gc.html" title="Control the garbage collector">std.gc</a>) |
|---|
| 176 |
$(LI <a href="std_getopt.html" title="Command line options">std.getopt</a>) |
|---|
| 177 |
$(LI <a href="std_gregorian.html" title="Gregorian Calendar">std.gregorian</a>) |
|---|
| 178 |
$(LI <a href="std_intrinsic.html" title="Compiler built in intrinsic functions">std.intrinsic</a>) |
|---|
| 179 |
$(LI <a href="std_json.html" title="JSON reader">std.json</a>) |
|---|
| 180 |
$(LI <a href="std_math.html" title="the usual math functions">std.math</a>) |
|---|
| 181 |
$(LI <a href="std_mathspecial.html" title="mathematical special functions">std.mathspecial</a>) |
|---|
| 182 |
$(LI <a href="std_md5.html" title="Compute MD5 digests">std.md5</a>) |
|---|
| 183 |
$(LI <a href="std_metastrings.html" title="Metaprogramming with strings">std.metastrings</a>) |
|---|
| 184 |
$(LI <a href="std_mmfile.html" title="Memory mapped files">std.mmfile</a>) |
|---|
| 185 |
$(LI <a href="std_numeric.html" title="Numeric algorithms">std.numeric</a>) |
|---|
| 186 |
$(LI <a href="std_outbuffer.html" title="Assemble data into an array of bytes">std.outbuffer</a>) |
|---|
| 187 |
$(LI <a href="std_outofmemory.html" title="Out of memory exception">std.outofmemory</a>) |
|---|
| 188 |
$(LI <a href="std_path.html" title="Manipulate file names, path names, etc.">std.path</a>) |
|---|
| 189 |
$(LI <a href="std_process.html" title="Create/destroy threads">std.process</a>) |
|---|
| 190 |
$(LI <a href="std_random.html" title="Random number generation">std.random</a>) |
|---|
| 191 |
$(LI <a href="std_range.html" title="Ranges">std.range</a>) |
|---|
| 192 |
$(LI <a href="std_regex.html" title="regular expressions">std.regex</a>) |
|---|
| 193 |
$(LI <a href="std_regexp.html" title="regular expressions (deprecated)">std.regexp</a>) |
|---|
| 194 |
$(LI <a href="std_signals.html" title="Signals">std.signals</a>) |
|---|
| 195 |
$(LI <a href="std_socket.html" title="Sockets">std.socket</a>) |
|---|
| 196 |
$(LI <a href="std_socketstream.html" title="Stream for a blocking, connected Socket">std.socketstream</a>) |
|---|
| 197 |
$(LI <a href="std_stdint.html" title="Integral types for various purposes">std.stdint</a>) |
|---|
| 198 |
$(LI <a href="std_stdio.html" title="Standard I/O">std.stdio</a>) |
|---|
| 199 |
$(LI <a href="std_cstream.html" title="Stream I/O">std.cstream</a>) |
|---|
| 200 |
$(LI <a href="std_stream.html" title="Stream I/O">std.stream</a>) |
|---|
| 201 |
$(LI <a href="std_string.html" title="Basic string operations">std.string</a>) |
|---|
| 202 |
$(LI <a href="std_system.html" title="Inquire about the CPU, operating system">std.system</a>) |
|---|
| 203 |
$(LI <a href="std_thread.html" title="Thread operations">std.thread</a>) |
|---|
| 204 |
$(LI <a href="std_traits.html" title="Type traits">std.traits</a>) |
|---|
| 205 |
$(LI <a href="std_typecons.html" title="Type constructors">std.typecons</a>) |
|---|
| 206 |
$(LI <a href="std_typetuple.html" title="Type tuples">std.typetuple</a>) |
|---|
| 207 |
$(LI <a href="std_uni.html" title="Unicode classification">std.uni</a>) |
|---|
| 208 |
$(LI <a href="std_uri.html" title="Encode and decode Uniform Resource Identifiers (URIs)">std.uri</a>) |
|---|
| 209 |
$(LI <a href="std_utf.html" title="Encode and decode utf character encodings">std.utf</a>) |
|---|
| 210 |
$(LI <a href="std_variant.html" title="Stores all types in a uniform, dynamically-checked representation">std.variant</a>) |
|---|
| 211 |
$(LI <a href="std_xml.html" title="XML file processing">std.xml</a>) |
|---|
| 212 |
$(LI <a href="std_zip.html" title="Read/write zip archives">std.zip</a>) |
|---|
| 213 |
$(LI <a href="std_zlib.html" title="Compression / Decompression of data">std.zlib</a>) |
|---|
| 214 |
$(LI <a href="std_c_fenv.html" title="Floating point environment">std.c.fenv</a>) |
|---|
| 215 |
$(LI <a href="std_c_locale.html" title="Locale">std.c.locale</a>) |
|---|
| 216 |
$(LI <a href="std_c_math.html" title="Math">std.c.math</a>) |
|---|
| 217 |
$(LI <a href="std_c_process.html" title="Process">std.c.process</a>) |
|---|
| 218 |
$(LI <a href="std_c_stdarg.html" title="Variadic arguments">std.c.stdarg</a>) |
|---|
| 219 |
$(LI <a href="std_c_stddef.html" title="Standard definitions">std.c.stddef</a>) |
|---|
| 220 |
$(LI <a href="std_c_stdio.html" title="Standard I/O">std.c.stdio</a>) |
|---|
| 221 |
$(LI <a href="std_c_stdlib.html" title="Standard library">std.c.stdlib</a>) |
|---|
| 222 |
$(LI <a href="std_c_string.html" title="Strings">std.c.string</a>) |
|---|
| 223 |
$(LI <a href="std_c_time.html" title="Time">std.c.time</a>) |
|---|
| 224 |
$(LI <a href="std_c_wcharh.html" title="Wide characters">std.c.wcharh</a>) |
|---|
| 225 |
$(LI <a href="std_windows_charset.html" title="Conversion to/from Windows character sets">std.windows.charset</a>) |
|---|
| 226 |
$(LI <a href="phobos.html#std_windows" title="Modules specific to Windows">std.windows</a>) |
|---|
| 227 |
$(LI <a href="phobos.html#std_linux" title="Modules specific to Windows">std.linux</a>) |
|---|
| 228 |
$(LI <a href="phobos.html#std_c_windows" title="C Windows API">std.c.windows</a>) |
|---|
| 229 |
$(LI <a href="phobos.html#std_c_linux" title="C Linux API">std.c.linux</a>) |
|---|
| 230 |
) |
|---|
| 231 |
<h2><a href="phobos.html#core" title="D core modules">core</a></h2> |
|---|
| 232 |
$(UL |
|---|
| 233 |
$(LI <a href="core_atomic.html" title="Atomic operations">core.atomic</a>) |
|---|
| 234 |
$(LI <a href="core_bitop.html" title="Bitwise operations">core.bitop</a>) |
|---|
| 235 |
$(LI <a href="core_cpuid.html" title="CPU identification">core.cpuid</a>) |
|---|
| 236 |
$(LI <a href="core_exception.html" title="Root of exception hierarchy">core.exception</a>) |
|---|
| 237 |
$(LI <a href="core_memory.html" title="Interface to memory management">core.memory</a>) |
|---|
| 238 |
$(LI <a href="core_runtime.html" title="Interface to D runtime library internals">core.runtime</a>) |
|---|
| 239 |
$(LI <a href="core_thread.html" title="Thread management">core.thread</a>) |
|---|
| 240 |
$(LI <a href="core_vararg.html" title="Variable function arguments">core.vararg</a>) |
|---|
| 241 |
$(LI <a href="core_sync_barrier.html" title="Synchronizing progress of a group of threads">core.sync.barrier</a>) |
|---|
| 242 |
$(LI <a href="core_sync_condition.html" title="Synchronized condition checking">core.sync.condition</a>) |
|---|
| 243 |
$(LI <a href="core_sync_config.html" title="Stuff for core.sync">core.sync.config</a>) |
|---|
| 244 |
$(LI <a href="core_sync_exception.html" title="SyncException">core.sync.exception</a>) |
|---|
| 245 |
$(LI <a href="core_sync_mutex.html" title="Mutexes">core.sync.mutex</a>) |
|---|
| 246 |
$(LI <a href="core_sync_rwmutex.html" title="R/W mutually exclusive access">core.sync.rwmutex</a>) |
|---|
| 247 |
$(LI <a href="core_sync_semaphore.html" title="Semaphores">core.sync.semaphore</a>) |
|---|
| 248 |
) |
|---|
| 249 |
</div> |
|---|
| 250 |
|
|---|
| 251 |
RED = <span style="color:red">$0</span> |
|---|
| 252 |
GREEN = <span style="color:green">$0</span> |
|---|
| 253 |
BLUE = <span style="color:blue">$0</span> |
|---|
| 254 |
YELLOW = <span style="color:yellow">$0</span> |
|---|
| 255 |
BLACK = <span style="color:black">$0</span> |
|---|
| 256 |
WHITE = <span style="color:white">$0</span> |
|---|
| 257 |
|
|---|
| 258 |
D_COMMENT = <span class="d_comment">$0</span> |
|---|
| 259 |
D_STRING = <span class="d_string">$0</span> |
|---|
| 260 |
D_KEYWORD = <span class="d_keyword">$0</span> |
|---|
| 261 |
D_PSYMBOL = <span class="d_psymbol">$0</span> |
|---|
| 262 |
D_PARAM = <span class="d_param">$0</span> |
|---|
| 263 |
RPAREN = ) |
|---|
| 264 |
LPAREN = ( |
|---|
| 265 |
LESS = < |
|---|
| 266 |
GREATER = > |
|---|
| 267 |
WEB = $(LINK2 http://$1,$2) |
|---|
| 268 |
LUCKY = $(WEB |
|---|
| 269 |
google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=$0,$0) |
|---|
| 270 |
D = <font face=Courier><b>$0</b></font> |
|---|
| 271 |
D = <span class="d_inlinecode">$0</span> |
|---|
| 272 |
BIGOH = <i><b>Ο</i>(</i></b>$(D $0)<b></i>)</i></b> |
|---|
| 273 |
GLOSSARY = $(LINK2 ../glossary.html#$0, $0) |
|---|
| 274 |
|
|---|
| 275 |
DDOC_PSYMBOL = <a name="$0"></a>$(U $0) |
|---|
| 276 |
DDOC_DECL = $(DT <div class="d_decl">$0</div>) |
|---|
| 277 |
XREF = <a href="std_$1.html#$2">$(D std.$1.$2)</a> |
|---|
| 278 |
BUGZILLA = $(LINK2 http://d.puremagic.com/issues/show_bug.cgi?id=$0, Bugzilla $0) |
|---|
| 279 |
PRE = <pre>$0</pre> |
|---|
| 280 |
PHOBOSSRC=$(LINK2 http://www.dsource.org/projects/phobos/browser/trunk/phobos/$0, $0) |
|---|
| 281 |
DRUNTIMESRC=$(LINK2 http://www.dsource.org/projects/druntime/browser/trunk/src/$0, $0) |
|---|
| 282 |
|
|---|
| 283 |
BOOKTABLE = <table cellspacing=0 cellpadding=5 valign=top class=book><caption>$1</caption>$2</table> |
|---|
| 284 |
TABLE = <table cellspacing=0 cellpadding=5><caption>$1</caption>$2</table> |
|---|
| 285 |
TD = <td valign=top>$0</td> |
|---|
| 286 |
TDNW = <td valign=top>$0</td> |
|---|
| 287 |
SUB = <sub>$0</sub> |
|---|
| 288 |
|
|---|
| 289 |
COPYRIGHT= Copyright © 1999-$(YEAR) by Digital Mars, All Rights Reserved |
|---|