



























<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>cpp_assert</Title>
<Shortcut>myass</Shortcut>
<Description>生成一个 assert() 断言的基本C++程序</Description>
<Author>huwj</Author>
</Header>
<Snippet>
<Code Language="CPP">
<![CDATA[
assert($curobj$ && "$message$");$end$
]]>
</Code>
<Declarations>
<Literal>
<ID>curobj</ID>
<ToolTip>要检查的对象或变量名</ToolTip>
<Default>待检查对象</Default>
</Literal>
<Literal>
<ID>message</ID>
<ToolTip>断言失败时显示的消息</ToolTip>
<Default>空对象!</Default>
</Literal>
</Declarations>
</Snippet>
</CodeSnippet>
</CodeSnippets>
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。