---
title: "STL map<string,string> 未能从“const std::string”为“const std::_Revranit<_RanIt,_Base> &”推导 模板 参数"
author: "mywebcode"
date: "2014-04-17T11:26:00Z"
tags: []
slug: "stl-map-string-string-const-std-string-const-std-revranit-ranit-base"
draft: false
lastmod: "2014-04-30T09:13:57Z"
id: 2058247
url: "https://mywebcode.iteye.com/blog/2058247"
---

虽然老是犯错。其实解决方法很简单，

忘了加:#include&lt;stirng&gt;