{"id":219074,"date":"2021-06-05T10:00:30","date_gmt":"2021-06-05T02:00:30","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=219074"},"modified":"2021-05-23T11:01:12","modified_gmt":"2021-05-23T03:01:12","slug":"overview-of-inline","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/overview-of-inline.html","title":{"rendered":"C++ \u4e2d inline \u7528\u6cd5\u6982\u8ff0"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5728 c\/c++ \u4e2d\uff0c\u4e3a\u4e86\u89e3\u51b3\u4e00\u4e9b\u9891\u7e41\u8c03\u7528\u7684\u5c0f\u51fd\u6570\u5927\u91cf\u6d88\u8017\u6808\u7a7a\u95f4\uff08\u6808\u5185\u5b58\uff09\u7684\u95ee\u9898\uff0c\u7279\u522b\u7684\u5f15\u5165\u4e86 inline \u4fee\u9970\u7b26\uff0c\u8868\u793a\u4e3a\u5185\u8054\u51fd\u6570\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u5f15\u5165 inline \u5173\u952e\u5b57\u7684\u539f\u56e0<\/strong><\/div>\n

\u5728 c\/c++ \u4e2d\uff0c\u4e3a\u4e86\u89e3\u51b3\u4e00\u4e9b\u9891\u7e41\u8c03\u7528\u7684\u5c0f\u51fd\u6570\u5927\u91cf\u6d88\u8017\u6808\u7a7a\u95f4\uff08\u6808\u5185\u5b58\uff09\u7684\u95ee\u9898\uff0c\u7279\u522b\u7684\u5f15\u5165\u4e86 inline \u4fee\u9970\u7b26\uff0c\u8868\u793a\u4e3a\u5185\u8054\u51fd\u6570\u3002<\/p>\n

\u6808\u7a7a\u95f4\u5c31\u662f\u6307\u653e\u7f6e\u7a0b\u5e8f\u7684\u5c40\u90e8\u6570\u636e\uff08\u4e5f\u5c31\u662f\u51fd\u6570\u5185\u6570\u636e\uff09\u7684\u5185\u5b58\u7a7a\u95f4\u3002<\/p>\n

\u5728\u7cfb\u7edf\u4e0b\uff0c\u6808\u7a7a\u95f4\u662f\u6709\u9650\u7684\uff0c\u5047\u5982\u9891\u7e41\u5927\u91cf\u7684\u4f7f\u7528\u5c31\u4f1a\u9020\u6210\u56e0\u6808\u7a7a\u95f4\u4e0d\u8db3\u800c\u5bfc\u81f4\u7a0b\u5e8f\u51fa\u9519\u7684\u95ee\u9898\uff0c\u5982\uff0c\u51fd\u6570\u7684\u6b7b\u5faa\u73af\u9012\u5f52\u8c03\u7528\u7684\u6700\u7ec8\u7ed3\u679c\u5c31\u662f\u5bfc\u81f4\u6808\u5185\u5b58\u7a7a\u95f4\u67af\u7aed\u3002<\/p>\n

\u4e0b\u9762\u6211\u4eec\u6765\u770b\u4e00\u4e2a\u4f8b\u5b50\uff1a<\/p>\n

\u5b9e\u4f8b<\/strong><\/p>\n

#include \r\n \r\ninline const char *num_check(int v)\r\n{\r\n    return (v % 2 > 0) ? \"\u5947\" : \"\u5076\";\r\n}\r\n \r\nint main(void)\r\n{\r\n    int i;\r\n    for (i = 0; i < 100; i++)\r\n        printf(\"%02d   %s\\n\", i, num_check(i));\r\n    return 0;\r\n}<\/pre>\n

\u4e0a\u9762\u7684\u4f8b\u5b50\u5c31\u662f\u6807\u51c6\u7684\u5185\u8054\u51fd\u6570\u7684\u7528\u6cd5\uff0c\u4f7f\u7528 inline \u4fee\u9970\u5e26\u6765\u7684\u597d\u5904\u6211\u4eec\u8868\u9762\u770b\u4e0d\u51fa\u6765\uff0c\u5176\u5b9e\uff0c\u5728\u5185\u90e8\u7684\u5de5\u4f5c\u5c31\u662f\u5728\u6bcf\u4e2a for \u5faa\u73af\u7684\u5185\u90e8\u4efb\u4f55\u8c03\u7528 dbtest(i) \u7684\u5730\u65b9\u90fd\u6362\u6210\u4e86 (i%2>0)?\"\u5947\":\"\u5076\"\uff0c\u8fd9\u6837\u5c31\u907f\u514d\u4e86\u9891\u7e41\u8c03\u7528\u51fd\u6570\u5bf9\u6808\u5185\u5b58\u91cd\u590d\u5f00\u8f9f\u6240\u5e26\u6765\u7684\u6d88\u8017\u3002<\/p>\n

inline\u4f7f\u7528\u9650\u5236<\/strong><\/div>\n

inline<\/strong> \u7684\u4f7f\u7528\u662f\u6709\u6240\u9650\u5236\u7684\uff0cinline \u53ea\u9002\u5408\u6db5\u6570\u4f53\u5185\u4ee3\u7801\u7b80\u5355\u7684\u6db5\u6570\u4f7f\u7528\uff0c\u4e0d\u80fd\u5305\u542b\u590d\u6742\u7684\u7ed3\u6784\u63a7\u5236\u8bed\u53e5\u4f8b\u5982 while\u3001switch\uff0c\u5e76\u4e14\u4e0d\u80fd\u5185\u8054\u51fd\u6570\u672c\u8eab\u4e0d\u80fd\u662f\u76f4\u63a5\u9012\u5f52\u51fd\u6570\uff08\u5373\uff0c\u81ea\u5df1\u5185\u90e8\u8fd8\u8c03\u7528\u81ea\u5df1\u7684\u51fd\u6570\uff09\u3002<\/p>\n

inline\u4ec5\u662f\u4e00\u4e2a\u5bf9\u7f16\u8bd1\u5668\u7684\u5efa\u8bae<\/strong><\/div>\n

inline<\/strong> \u51fd\u6570\u4ec5\u4ec5\u662f\u4e00\u4e2a\u5bf9\u7f16\u8bd1\u5668\u7684\u5efa\u8bae\uff0c\u6240\u4ee5\u6700\u540e\u80fd\u5426\u771f\u6b63\u5185\u8054\uff0c\u770b\u7f16\u8bd1\u5668\u7684\u610f\u601d\uff0c\u5b83\u5982\u679c\u8ba4\u4e3a\u51fd\u6570\u4e0d\u590d\u6742\uff0c\u80fd\u5728\u8c03\u7528\u70b9\u5c55\u5f00\uff0c\u5c31\u4f1a\u771f\u6b63\u5185\u8054\uff0c\u5e76\u4e0d\u662f\u8bf4\u58f0\u660e\u4e86\u5185\u8054\u5c31\u4f1a\u5185\u8054\uff0c\u58f0\u660e\u5185\u8054\u53ea\u662f\u4e00\u4e2a\u5efa\u8bae\u800c\u5df2\u3002<\/p>\n

\u5efa\u8bae inline \u51fd\u6570\u7684\u5b9a\u4e49\u653e\u5728\u5934\u6587\u4ef6\u4e2d<\/strong><\/div>\n

\u5176\u6b21\uff0c\u56e0\u4e3a\u5185\u8054\u51fd\u6570\u8981\u5728\u8c03\u7528\u70b9\u5c55\u5f00\uff0c\u6240\u4ee5\u7f16\u8bd1\u5668\u5fc5\u987b\u968f\u5904\u53ef\u89c1\u5185\u8054\u51fd\u6570\u7684\u5b9a\u4e49\uff0c\u8981\u4e0d\u7136\u5c31\u6210\u4e86\u975e\u5185\u8054\u51fd\u6570\u7684\u8c03\u7528\u4e86\u3002\u6240\u4ee5\uff0c\u8fd9\u8981\u6c42\u6bcf\u4e2a\u8c03\u7528\u4e86\u5185\u8054\u51fd\u6570\u7684\u6587\u4ef6\u90fd\u51fa\u73b0\u4e86\u8be5\u5185\u8054\u51fd\u6570\u7684\u5b9a\u4e49\u3002<\/p>\n

\u56e0\u6b64\uff0c\u5c06\u5185\u8054\u51fd\u6570\u7684\u5b9a\u4e49\u653e\u5728\u5934\u6587\u4ef6\u91cc\u5b9e\u73b0\u662f\u5408\u9002\u7684\uff0c\u7701\u5374\u4f60\u4e3a\u6bcf\u4e2a\u6587\u4ef6\u5b9e\u73b0\u4e00\u6b21\u7684\u9ebb\u70e6\u3002<\/p>\n

\u58f0\u660e\u8ddf\u5b9a\u4e49\u8981\u4e00\u81f4\uff1a\u5982\u679c\u5728\u6bcf\u4e2a\u6587\u4ef6\u91cc\u90fd\u5b9e\u73b0\u4e00\u6b21\u8be5\u5185\u8054\u51fd\u6570\u7684\u8bdd\uff0c\u90a3\u4e48\uff0c\u6700\u597d\u4fdd\u8bc1\u6bcf\u4e2a\u5b9a\u4e49\u90fd\u662f\u4e00\u6837\u7684\uff0c\u5426\u5219\uff0c\u5c06\u4f1a\u5f15\u8d77\u672a\u5b9a\u4e49\u7684\u884c\u4e3a\u3002\u5982\u679c\u4e0d\u662f\u6bcf\u4e2a\u6587\u4ef6\u91cc\u7684\u5b9a\u4e49\u90fd\u4e00\u6837\uff0c\u90a3\u4e48\uff0c\u7f16\u8bd1\u5668\u5c55\u5f00\u7684\u662f\u54ea\u4e00\u4e2a\uff0c\u90a3\u8981\u770b\u5177\u4f53\u7684\u7f16\u8bd1\u5668\u800c\u5b9a\u3002\u6240\u4ee5\uff0c\u6700\u597d\u5c06\u5185\u8054\u51fd\u6570\u5b9a\u4e49\u653e\u5728\u5934\u6587\u4ef6\u4e2d\u3002<\/p>\n

\u7c7b\u4e2d\u7684\u6210\u5458\u51fd\u6570\u4e0einline<\/strong><\/div>\n

\u5b9a\u4e49\u5728\u7c7b\u4e2d\u7684\u6210\u5458\u51fd\u6570\u9ed8\u8ba4\u90fd\u662f\u5185\u8054\u7684\uff0c\u5982\u679c\u5728\u7c7b\u5b9a\u4e49\u65f6\u5c31\u5728\u7c7b\u5185\u7ed9\u51fa\u51fd\u6570\u5b9a\u4e49\uff0c\u90a3\u5f53\u7136\u6700\u597d\u3002\u5982\u679c\u5728\u7c7b\u4e2d\u672a\u7ed9\u51fa\u6210\u5458\u51fd\u6570\u5b9a\u4e49\uff0c\u800c\u53c8\u60f3\u5185\u8054\u8be5\u51fd\u6570\u7684\u8bdd\uff0c\u90a3\u5728\u7c7b\u5916\u8981\u52a0\u4e0ainline<\/strong>\uff0c\u5426\u5219\u5c31\u8ba4\u4e3a\u4e0d\u662f\u5185\u8054\u7684\u3002<\/p>\n

class A\r\n{\r\n    public:void Foo(int x, int y) {  } \/\/ \u81ea\u52a8\u5730\u6210\u4e3a\u5185\u8054\u51fd\u6570\r\n}<\/pre>\n

\u5c06\u6210\u5458\u51fd\u6570\u7684\u5b9a\u4e49\u4f53\u653e\u5728\u7c7b\u58f0\u660e\u4e4b\u4e2d\u867d\u7136\u80fd\u5e26\u6765\u4e66\u5199\u4e0a\u7684\u65b9\u4fbf\uff0c\u4f46\u4e0d\u662f\u4e00\u79cd\u826f\u597d\u7684\u7f16\u7a0b\u98ce\u683c\uff0c\u4e0a\u4f8b\u5e94\u8be5\u6539\u6210\uff1a<\/p>\n

\/\/ \u5934\u6587\u4ef6\r\nclass A\r\n{\r\n    public:\r\n    void Foo(int x, int y);\r\n}\r\n \r\n \r\n\/\/ \u5b9a\u4e49\u6587\u4ef6\r\ninline void A::Foo(int x, int y){}<\/pre>\n
inline \u662f\u4e00\u79cd\"\u7528\u4e8e\u5b9e\u73b0\u7684\u5173\u952e\u5b57\"<\/strong><\/div>\n

\u5173\u952e\u5b57 inline<\/strong> \u5fc5\u987b\u4e0e\u51fd\u6570\u5b9a\u4e49\u4f53\u653e\u5728\u4e00\u8d77\u624d\u80fd\u4f7f\u51fd\u6570\u6210\u4e3a\u5185\u8054\uff0c\u4ec5\u5c06 inline<\/strong> \u653e\u5728\u51fd\u6570\u58f0\u660e\u524d\u9762\u4e0d\u8d77\u4efb\u4f55\u4f5c\u7528\u3002<\/p>\n

\u5982\u4e0b\u98ce\u683c\u7684\u51fd\u6570 Foo \u4e0d\u80fd\u6210\u4e3a\u5185\u8054\u51fd\u6570\uff1a<\/p>\n

inline void Foo(int x, int y); \/\/ inline \u4ec5\u4e0e\u51fd\u6570\u58f0\u660e\u653e\u5728\u4e00\u8d77\r\nvoid Foo(int x, int y){}<\/pre>\n

\u800c\u5982\u4e0b\u98ce\u683c\u7684\u51fd\u6570 Foo \u5219\u6210\u4e3a\u5185\u8054\u51fd\u6570\uff1a<\/p>\n

void Foo(int x, int y);\r\ninline void Foo(int x, int y) {} \/\/ inline \u4e0e\u51fd\u6570\u5b9a\u4e49\u4f53\u653e\u5728\u4e00\u8d77<\/pre>\n

\u6240\u4ee5\u8bf4\uff0cinline \u662f\u4e00\u79cd\"\u7528\u4e8e\u5b9e\u73b0\u7684\u5173\u952e\u5b57\"\uff0c\u800c\u4e0d\u662f\u4e00\u79cd\"\u7528\u4e8e\u58f0\u660e\u7684\u5173\u952e\u5b57\"\u3002\u4e00\u822c\u5730\uff0c\u7528\u6237\u53ef\u4ee5\u9605\u8bfb\u51fd\u6570\u7684\u58f0\u660e\uff0c\u4f46\u662f\u770b\u4e0d\u5230\u51fd\u6570\u7684\u5b9a\u4e49\u3002\u5c3d\u7ba1\u5728\u5927\u591a\u6570\u6559\u79d1\u4e66\u4e2d\u5185\u8054\u51fd\u6570\u7684\u58f0\u660e\u3001\u5b9a\u4e49\u4f53\u524d\u9762\u90fd\u52a0\u4e86inline \u5173\u952e\u5b57\uff0c\u4f46\u6211\u8ba4\u4e3ainline\u4e0d\u5e94\u8be5\u51fa\u73b0\u5728\u51fd\u6570\u7684\u58f0\u660e\u4e2d\u3002\u8fd9\u4e2a\u7ec6\u8282\u867d\u7136\u4e0d\u4f1a\u5f71\u54cd\u51fd\u6570\u7684\u529f\u80fd\uff0c\u4f46\u662f\u4f53\u73b0\u4e86\u9ad8\u8d28\u91cfC++\/C \u7a0b\u5e8f\u8bbe\u8ba1\u98ce\u683c\u7684\u4e00\u4e2a\u57fa\u672c\u539f\u5219\uff1a\u58f0\u660e\u4e0e\u5b9a\u4e49\u4e0d\u53ef\u6df7\u4e3a\u4e00\u8c08\uff0c\u7528\u6237\u6ca1\u6709\u5fc5\u8981\u3001\u4e5f\u4e0d\u5e94\u8be5\u77e5\u9053\u51fd\u6570\u662f\u5426\u9700\u8981\u5185\u8054\u3002<\/p>\n

\u614e\u7528 inline<\/strong><\/div>\n

\u5185\u8054\u80fd\u63d0\u9ad8\u51fd\u6570\u7684\u6267\u884c\u6548\u7387\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u628a\u6240\u6709\u7684\u51fd\u6570\u90fd\u5b9a\u4e49\u6210\u5185\u8054\u51fd\u6570\uff1f\u5982\u679c\u6240\u6709\u7684\u51fd\u6570\u90fd\u662f\u5185\u8054\u51fd\u6570\uff0c\u8fd8\u7528\u5f97\u7740\"\u5185\u8054\"\u8fd9\u4e2a\u5173\u952e\u5b57\u5417\uff1f
\n\u5185\u8054\u662f\u4ee5\u4ee3\u7801\u81a8\u80c0\uff08\u590d\u5236\uff09\u4e3a\u4ee3\u4ef7\uff0c\u4ec5\u4ec5\u7701\u53bb\u4e86\u51fd\u6570\u8c03\u7528\u7684\u5f00\u9500\uff0c\u4ece\u800c\u63d0\u9ad8\u51fd\u6570\u7684\u6267\u884c\u6548\u7387\u3002
\n\u5982\u679c\u6267\u884c\u51fd\u6570\u4f53\u5185\u4ee3\u7801\u7684\u65f6\u95f4\uff0c\u76f8\u6bd4\u4e8e\u51fd\u6570\u8c03\u7528\u7684\u5f00\u9500\u8f83\u5927\uff0c\u90a3\u4e48\u6548\u7387\u7684\u6536\u83b7\u4f1a\u5f88\u5c11\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u6bcf\u4e00\u5904\u5185\u8054\u51fd\u6570\u7684\u8c03\u7528\u90fd\u8981\u590d\u5236\u4ee3\u7801\uff0c\u5c06\u4f7f\u7a0b\u5e8f\u7684\u603b\u4ee3\u7801\u91cf\u589e\u5927\uff0c\u6d88\u8017\u66f4\u591a\u7684\u5185\u5b58\u7a7a\u95f4\u3002<\/p>\n

\u4ee5\u4e0b\u60c5\u51b5\u4e0d\u5b9c\u4f7f\u7528\u5185\u8054\uff1a
\n\uff081\uff09\u5982\u679c\u51fd\u6570\u4f53\u5185\u7684\u4ee3\u7801\u6bd4\u8f83\u957f\uff0c\u4f7f\u7528\u5185\u8054\u5c06\u5bfc\u81f4\u5185\u5b58\u6d88\u8017\u4ee3\u4ef7\u8f83\u9ad8\u3002
\n\uff082\uff09\u5982\u679c\u51fd\u6570\u4f53\u5185\u51fa\u73b0\u5faa\u73af\uff0c\u90a3\u4e48\u6267\u884c\u51fd\u6570\u4f53\u5185\u4ee3\u7801\u7684\u65f6\u95f4\u8981\u6bd4\u51fd\u6570\u8c03\u7528\u7684\u5f00\u9500\u5927\u3002\u7c7b\u7684\u6784\u9020\u51fd\u6570\u548c\u6790\u6784\u51fd\u6570\u5bb9\u6613\u8ba9\u4eba\u8bef\u89e3\u6210\u4f7f\u7528\u5185\u8054\u66f4\u6709\u6548\u3002\u8981\u5f53\u5fc3\u6784\u9020\u51fd\u6570\u548c\u6790\u6784\u51fd\u6570\u53ef\u80fd\u4f1a\u9690\u85cf\u4e00\u4e9b\u884c\u4e3a\uff0c\u5982\"\u5077\u5077\u5730\"\u6267\u884c\u4e86\u57fa\u7c7b\u6216\u6210\u5458\u5bf9\u8c61\u7684\u6784\u9020\u51fd\u6570\u548c\u6790\u6784\u51fd\u6570\u3002\u6240\u4ee5\u4e0d\u8981\u968f\u4fbf\u5730\u5c06\u6784\u9020\u51fd\u6570\u548c\u6790\u6784\u51fd\u6570\u7684\u5b9a\u4e49\u4f53\u653e\u5728\u7c7b\u58f0\u660e\u4e2d\u3002\u4e00\u4e2a\u597d\u7684\u7f16\u8bd1\u5668\u5c06\u4f1a\u6839\u636e\u51fd\u6570\u7684\u5b9a\u4e49\u4f53\uff0c\u81ea\u52a8\u5730\u53d6\u6d88\u4e0d\u503c\u5f97\u7684\u5185\u8054\uff08\u8fd9\u8fdb\u4e00\u6b65\u8bf4\u660e\u4e86 inline \u4e0d\u5e94\u8be5\u51fa\u73b0\u5728\u51fd\u6570\u7684\u58f0\u660e\u4e2d\uff09\u3002<\/p>\n

\u603b\u7ed3<\/strong><\/div>\n

\u5185\u8054\u51fd\u6570\u5e76\u4e0d\u662f\u4e00\u4e2a\u589e\u5f3a\u6027\u80fd\u7684\u7075\u4e39\u5999\u836f\u3002\u53ea\u6709\u5f53\u51fd\u6570\u975e\u5e38\u77ed\u5c0f\u7684\u65f6\u5019\u5b83\u624d\u80fd\u5f97\u5230\u6211\u4eec\u60f3\u8981\u7684\u6548\u679c\uff1b\u4f46\u662f\uff0c\u5982\u679c\u51fd\u6570\u5e76\u4e0d\u662f\u5f88\u77ed\u800c\u4e14\u5728\u5f88\u591a\u5730\u65b9\u90fd\u88ab\u8c03\u7528\u7684\u8bdd\uff0c\u90a3\u4e48\u5c06\u4f1a\u4f7f\u5f97\u53ef\u6267\u884c\u4f53\u7684\u4f53\u79ef\u589e\u5927\u3002
\n\u6700\u4ee4\u4eba\u70e6\u607c\u7684\u8fd8\u662f\u5f53\u7f16\u8bd1\u5668\u62d2\u7edd\u5185\u8054\u7684\u65f6\u5019\u3002\u5728\u8001\u7684\u5b9e\u73b0\u4e2d\uff0c\u7ed3\u679c\u5f88\u4e0d\u5c3d\u4eba\u610f\uff0c\u867d\u7136\u5728\u65b0\u7684\u5b9e\u73b0\u4e2d\u6709\u5f88\u5927\u7684\u6539\u5584\uff0c\u4f46\u662f\u4ecd\u7136\u8fd8\u662f\u4e0d\u90a3\u4e48\u5b8c\u5584\u7684\u3002\u4e00\u4e9b\u7f16\u8bd1\u5668\u80fd\u591f\u8db3\u591f\u7684\u806a\u660e\u6765\u6307\u51fa\u54ea\u4e9b\u51fd\u6570\u53ef\u4ee5\u5185\u8054\u54ea\u4e9b\u4e0d\u80fd\uff0c\u4f46\u662f\u5927\u591a\u6570\u7f16\u8bd1\u5668\u5c31\u4e0d\u90a3\u4e48\u806a\u660e\u4e86\uff0c\u56e0\u6b64\u8fd9\u5c31\u9700\u8981\u6211\u4eec\u7684\u7ecf\u9a8c\u6765\u5224\u65ad\u3002\u5982\u679c\u5185\u8054\u51fd\u6570\u4e0d\u80fd\u589e\u5f3a\u6027\u80fd\uff0c\u5c31\u907f\u514d\u4f7f\u7528\u5b83\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728 c\/c++ \u4e2d\uff0c\u4e3a\u4e86\u89e3\u51b3\u4e00\u4e9b\u9891\u7e41\u8c03\u7528\u7684\u5c0f\u51fd\u6570\u5927\u91cf\u6d88\u8017\u6808\u7a7a\u95f4\uff08\u6808\u5185\u5b58\uff09\u7684\u95ee\u9898\uff0c\u7279\u522b\u7684\u5f15\u5165\u4e86 inline \u4fee […]<\/p>\n","protected":false},"author":321,"featured_media":219076,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-219074","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/219074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/321"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=219074"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/219074\/revisions"}],"predecessor-version":[{"id":219078,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/219074\/revisions\/219078"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/219076"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=219074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=219074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=219074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}